phobos-next v0.4.6 (2022-11-25T12:27:21Z)
Home
Dub
Repo
Rational.opBinary
nxt
rational
Rational
ditto
Rational
!(
SomeIntegral
)
opBinary
(Rhs that)
Rational
!(
SomeIntegral
)
opBinary
(Rhs that)
struct
Rational
(SomeIntegral)
const
Rational
!(
SomeIntegral
)
opBinary
(
string
op
Rhs
)
(
const
scope
Rhs
that
)
if
(
op
== "*" &&
is
(
CommonRational
!(
SomeIntegral
,
Rhs
))
&&
isIntegerLike
!
Rhs
)
if
(
isIntegerLike
!
SomeIntegral
)
typeof
(
this
)
opBinary
(Rhs that)
typeof
(
this
)
opBinary
(Rhs that)
auto
opBinary
(Rhs that)
auto
opBinary
(Rhs that)
auto
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
ditto