The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
CustomFloat.max_exp
std
numeric
CustomFloat
maximum int value such that 2<sup>max_exp-1</sup> is representable
struct
CustomFloat
(uint precision, uint exponentWidth, CustomFloatFlags flags, uint bias)
enum
max_exp
=
exponent_max
-
bias
- ((
flags
& (
Flags.infinity
|
Flags.nan
)) !=
0
) +
1
;
Meta
Source
See Source File
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
maximum int value such that 2<sup>max_exp-1</sup> is representable