carbon v1.8.0 (2018-09-02T09:54:37Z)
Home
Dub
Repo
Rational.opCmp
carbon
rational
Rational
operator
auto
opCmp
(U r)
struct
Rational
(T)
const
auto
opCmp
(
U
)
(
auto
ref
const
U
r
)
if
(
!
isRationalType
!
U
)
if
(
isLikeInt
!
T
&&
!
isFloatingPoint
!
T
)
auto
opCmp
(Rational!U r)
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)
void
opOpAssign
(Rational!U r)
void
opOpAssign
(U v)
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