phobos ~master (2024-10-03T07:50:27Z)
Dub
Repo
CustomFloat.opBinary
std
numeric
CustomFloat
Convert the CustomFloat to a real and perform the relevant operator on the result
real
opBinary
(T b)
struct
CustomFloat
(uint precision, uint exponentWidth, CustomFloatFlags flags, uint bias)
real
opBinary
(
string
op
T
)
(
T
b
)
if
(
__traits(
compiles
, mixin (`get!real` ~
op
~ `b.get!real`))
)
if
(
isCorrectCustomFloat
(
precision
,
exponentWidth
,
flags
)
)
real
opBinary
(T b)
Meta
Source
See Implementation
std
numeric
CustomFloat
aliases
opCast
constructors
this
functions
opAssign
opBinary
opBinaryRight
opCmp
opOpAssign
opUnary
manifest constants
mant_dig
max_exp
min_exp
properties
dig
epsilon
get
im
infinity
max
max_10_exp
min_10_exp
min_normal
nan
re
templates
toString
Convert the CustomFloat to a real and perform the relevant operator on the result