phobos-next v0.5.1 (2022-12-21T17:07:30Z)
Home
Dub
Repo
Rational.opBinary
nxt
rational
Rational
ditto
Rational
!(
SomeIntegral
)
opBinary
(Rhs that)
Rational
!(
SomeIntegral
)
opBinary
(Rhs that)
typeof
(
this
)
opBinary
(Rhs that)
typeof
(
this
)
opBinary
(Rhs that)
auto
opBinary
(Rhs that)
auto
opBinary
(Rhs that)
auto
opBinary
(Rhs that)
struct
Rational
(SomeIntegral)
public const
auto
opBinary
(
string
op
Rhs
)
(
const
scope
Rhs
that
)
if
(
op
== "^^" &&
isIntegerLike
!
Rhs
&&
is
(
CommonRational
!(
SomeIntegral
,
Rhs
))
)
if
(
isIntegerLike
!
SomeIntegral
)
Meta
Source
See Implementation
nxt
rational
Rational
functions
inverse
invert
opAssign
opBinary
opBinaryRight
opCast
opCmp
opEquals
opOpAssign
opUnary
toString
properties
denominator
fractionPart
integerPart
numerator
ditto