The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
CustomFloat.this
std
numeric
CustomFloat
Initialize from any
real
compatible type.
struct
CustomFloat
(uint precision, uint exponentWidth, CustomFloatFlags flags, uint bias)
this
(
F
)
(
F
input
)
if
(
__traits(
compiles
, cast(
real
)
input
)
)
if
(
isCorrectCustomFloat
(
precision
,
exponentWidth
,
flags
)
)
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
Initialize from any real compatible type.