The D Programming Language's Unofficial Docs
beta
Dlang.org
Get Help
CustomFloat.opCmp
std
numeric
CustomFloat
Convert the CustomFloat to a real and perform the relevant operator on the result
real
opUnary
()
real
opBinary
(T b)
real
opBinary
(T b)
real
opBinaryRight
(T a)
int
opCmp
(T b)
struct
CustomFloat
(uint precision, uint exponentWidth, CustomFloatFlags flags, uint bias)
int
opCmp
(
T
)
(
auto
ref
T
b
)
if
(
__traits(
compiles
, cast(
real
)
b
)
)
if
(
isCorrectCustomFloat
(
precision
,
exponentWidth
,
flags
)
)
void
opOpAssign
(T b)
template
toString
()
Meta
Source
See Implementation
std
numeric
CustomFloat
aliases
opCast
constructors
this
functions
infinity
nan
opAssign
opBinary
opBinaryRight
opCmp
opOpAssign
opUnary
manifest constants
mant_dig
max_exp
min_exp
properties
dig
epsilon
get
im
max
max_10_exp
min_10_exp
min_normal
re
templates
toString
Suggestion Box / Bug Report
Convert the CustomFloat to a real and perform the relevant operator on the result