Target.FPTypeProperties

Values representing all properties for floating point types

Members

Functions

initialize
void initialize()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

dig
d_int64 dig;

number of decimal digits of precision

epsilon
real_t epsilon;

smallest increment to the value 1

infinity
real_t infinity;

infinity value

mant_dig
d_int64 mant_dig;

number of bits in mantissa

max
real_t max;

largest representable value that's not infinity

max_10_exp
d_int64 max_10_exp;

maximum int value such that 10max_10_exp is representable

max_exp
d_int64 max_exp;

maximum int value such that 2max_exp-1 is representable

min_10_exp
d_int64 min_10_exp;

minimum int value such that 10min_10_exp is representable as a normalized value

min_exp
d_int64 min_exp;

minimum int value such that 2min_exp-1 is representable as a normalized value

min_normal
real_t min_normal;

smallest representable normalized value that's not 0

nan
real_t nan;

NaN value

Meta