Target.FPTypeProperties

Values representing all properties for floating point types

Members

Variables

dig
long 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
long mant_dig;

number of bits in mantissa

max
real_t max;

largest representable value that's not infinity

max_10_exp
long max_10_exp;

maximum int value such that 10max_10_exp is representable

max_exp
long max_exp;

maximum int value such that 2max_exp-1 is representable

min_10_exp
long min_10_exp;

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

min_exp
long 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