carbon ~master (2016-11-08T03:28:07Z)
Home
Dub
Repo
Rational.den
carbon
rational
Rational
denominator
inout
(
T
)
den
[@property getter]
U
den
[@property setter]
struct
Rational
(T)
@
property
void
den
(
U
)
(
in
U
u
)
if
(
isAssignable
!(
T
,
const
(
U
))
)
in { assert (u != 0); }
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
denominator