carbon ~master (2016-11-08T03:28:07Z)
Home
Dub
Repo
Rational.opAssign
carbon
rational
Rational
operator
void
opAssign
(
in
U
v
)
void
opAssign
(
in
Rational
!
U
r
)
struct
Rational
(T)
void
opAssign
(
U
)
(
in
Rational
!
U
r
)
if
(
isAssignable
!(
T
,
U
)
)
if
(
isLikeInt
!
T
&&
!
isFloatingPoint
!
T
)
typeof
(
this
)
opUnary
()
typeof
(
this
)
opUnary
()
bool
opCast
()
U
opCast
()
U
opCast
()
U
opCast
()
auto
opBinary
(
in
Rational
!
U
r
)
auto
opBinary
(
in
U
v
)
auto
opBinaryRight
(
in
U
v
)
void
opOpAssign
(
in
Rational
!
U
r
)
void
opOpAssign
(
const
U
v
)
auto
opCmp
(
auto
ref
const
U
r
)
auto
opCmp
(
auto
ref
const
Rational
!
U
r
)
bool
opEquals
(
auto
ref
const
U
v
)
bool
opEquals
(
auto
ref
const
Rational
!
U
r
)
void
toString
(
scope
void
delegate
(
const
(
char
)[])
sink
,
FormatSpec
!
char
fmt
)
Meta
Source
See Implementation
carbon
rational
Rational
constructors
this
functions
opAssign
opBinary
opBinaryRight
opCast
opCmp
opEquals
opOpAssign
opUnary
toString
properties
den
num
reciprocal
operator