carbon v1.5.4 (2015-09-23T08:11:56Z)
Home
Dub
Repo
Rational.num
carbon
rational
Rational
numerator
inout
(
T
)
num
[@property getter]
U
num
[@property setter]
struct
Rational
(T)
@
property
void
num
(
U
)
(
in
U
u
)
if
(
isAssignable
!(
T
,
const
(
U
))
)
if
(
isLikeInt
!
T
&&
!
isFloatingPoint
!
T
)
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
numerator