carbon v1.8.0 (2018-09-02T09:54:37Z)
Home
Dub
Repo
Rational.opCast
carbon
rational
Rational
operator
bool
opCast
()
U
opCast
()
struct
Rational
(T)
const
U
opCast
(
U
:
T
)
(
)
if
(
isLikeInt
!
T
&&
!
isFloatingPoint
!
T
)
U
opCast
()
U
opCast
()
void
opAssign
(U v)
void
opAssign
(Rational!U r)
typeof
(
this
)
opUnary
()
typeof
(
this
)
opUnary
()
auto
opBinary
(Rational!U r)
auto
opBinary
(U v)
auto
opBinaryRight
(U v)
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