41 #ifndef OPENVDB_MATH_HALF_LIMITS_HAS_BEEN_INCLUDED 42 #define OPENVDB_MATH_HALF_LIMITS_HAS_BEEN_INCLUDED 61 static const bool is_specialized =
true;
63 static half min () throw () {
return HALF_NRM_MIN;}
64 static half max () throw () {
return HALF_MAX;}
66 static const int digits = HALF_MANT_DIG;
67 static const int digits10 = HALF_DIG;
68 static const bool is_signed =
true;
69 static const bool is_integer =
false;
70 static const bool is_exact =
false;
71 static const int radix = HALF_RADIX;
75 static const int min_exponent = HALF_MIN_EXP;
76 static const int min_exponent10 = HALF_MIN_10_EXP;
77 static const int max_exponent = HALF_MAX_EXP;
78 static const int max_exponent10 = HALF_MAX_10_EXP;
80 static const bool has_infinity =
true;
81 static const bool has_quiet_NaN =
true;
82 static const bool has_signaling_NaN =
true;
83 static const float_denorm_style has_denorm = denorm_present;
84 static const bool has_denorm_loss =
false;
90 static const bool is_iec559 =
false;
91 static const bool is_bounded =
false;
92 static const bool is_modulo =
false;
94 static const bool traps =
true;
95 static const bool tinyness_before =
false;
96 static const float_round_style round_style = round_to_nearest;
98 #if __cplusplus >= 201103L 101 static constexpr
int max_digits10 = HALF_DECIMAL_DIG;
102 static half lowest () {
return -HALF_MAX;}
111 #endif // OPENVDB_MATH_HALF_LIMITS_HAS_BEEN_INCLUDED static half infinity()
Definition: HalfLimits.h:85
static half signaling_NaN()
Definition: HalfLimits.h:87
static half epsilon()
Definition: HalfLimits.h:72
static half max()
Definition: HalfLimits.h:64
static half min()
Definition: HalfLimits.h:63
static half round_error()
Definition: HalfLimits.h:73
Definition: Exceptions.h:13
static half quiet_NaN()
Definition: HalfLimits.h:86
static half denorm_min()
Definition: HalfLimits.h:88
internal::half half
Definition: Types.h:29