View source code
Display the source code in dmd/target.d from which this
page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a
Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
local clone.
Struct dmd.target.Target.FPTypeProperties
Values representing all properties for floating point types
struct FPTypeProperties(T)
;
Fields
Name | Type | Description |
---|---|---|
dig
|
d_int64 | number of decimal digits of precision |
epsilon
|
real_t | smallest increment to the value 1 |
infinity
|
real_t | infinity value |
mant_dig
|
d_int64 | number of bits in mantissa |
max
|
real_t | largest representable value that's not infinity |
max_10_exp
|
d_int64 | maximum int value such that 10max_10_exp is representable
|
max_exp
|
d_int64 | maximum int value such that 2max_exp-1 is representable
|
min_10_exp
|
d_int64 | minimum int value such that 10min_10_exp is representable as a normalized value
|
min_exp
|
d_int64 | minimum int value such that 2min_exp-1 is representable as a normalized value
|
min_normal
|
real_t | smallest representable normalized value that's not 0 |
nan
|
real_t | NaN value |
snan
|
real_t | signalling NaN value |
Authors
License
Copyright © 1999-2022 by the D Language Foundation | Page generated by ddox.