phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
Rational.opCmp
nxt
rational
Rational
Undocumented in source. Be warned that the author may not have intended to support it.
int
opCmp
(Rhs that)
int
opCmp
(Rhs that)
struct
Rational
(SomeIntegral)
const
int
opCmp
(
Rhs
)
(
const
scope
Rhs
that
)
if
(
isIntegerLike
!
Rhs
)
if
(
isIntegerLike
!
SomeIntegral
)
Rational
!(
SomeIntegral
)
opBinary
(Rhs that)
Rational
!(
SomeIntegral
)
opBinary
(Rhs that)
Meta
Source
See Implementation
nxt
rational
Rational
functions
inverse
invert
opAssign
opBinary
opBinaryRight
opCast
opCmp
opEquals
opOpAssign
opUnary
toString
properties
denominator
fractionPart
integerPart
numerator