phobos-next v0.4.6 (2022-11-25T12:27:21Z)
Home
Dub
Repo
Rational.opAssign
nxt
rational
Rational
Undocumented in source. Be warned that the author may not have intended to support it.
typeof
(
this
)
opAssign
(Rhs that)
struct
Rational
(SomeIntegral)
typeof
(this)
opAssign
(
Rhs
)
(
const
scope
Rhs
that
)
if
(
isIntegerLike
!
Rhs
&&
isAssignable
!(
SomeIntegral
,
Rhs
)
)
if
(
isIntegerLike
!
SomeIntegral
)
typeof
(
this
)
opAssign
(Rhs that)
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