carbon v1.8.0 (2018-09-02T09:54:37Z)
Home
Dub
Repo
Rational.opBinaryRight
carbon
rational
Rational
operator
void
opAssign
(U v)
void
opAssign
(Rational!U r)
typeof
(
this
)
opUnary
()
typeof
(
this
)
opUnary
()
bool
opCast
()
U
opCast
()
U
opCast
()
U
opCast
()
auto
opBinary
(Rational!U r)
auto
opBinary
(U v)
auto
opBinaryRight
(U v)
struct
Rational
(T)
const
auto
opBinaryRight
(
string
op
U
)
(
in
U
v
)
if
(
!
isRationalType
!
U
&&
isLikeInt
!
U
&&
!
find
(["+", "-", "*", "/", "%"],
op
).
empty
)
if
(
isLikeInt
!
T
&&
!
isFloatingPoint
!
T
)
void
opOpAssign
(Rational!U r)
void
opOpAssign
(U v)
auto
opCmp
(U r)
auto
opCmp
(Rational!U r)
bool
opEquals
(U v)
bool
opEquals
(Rational!U r)
void
toString
(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
static functions
init
operator