RMW desert 1.0
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | List of all members
std::numeric_limits< half_float::half > Class Reference

#include <half.hpp>

Static Public Member Functions

static HALF_CONSTEXPR half_float::half min () HALF_NOTHROW
 Smallest positive normal value.
 
static HALF_CONSTEXPR half_float::half lowest () HALF_NOTHROW
 Smallest finite value.
 
static HALF_CONSTEXPR half_float::half max () HALF_NOTHROW
 Largest finite value.
 
static HALF_CONSTEXPR half_float::half epsilon () HALF_NOTHROW
 Difference between 1 and next representable value.
 
static HALF_CONSTEXPR half_float::half round_error () HALF_NOTHROW
 Maximum rounding error in ULP (units in the last place).
 
static HALF_CONSTEXPR half_float::half infinity () HALF_NOTHROW
 Positive infinity.
 
static HALF_CONSTEXPR half_float::half quiet_NaN () HALF_NOTHROW
 Quiet NaN.
 
static HALF_CONSTEXPR half_float::half signaling_NaN () HALF_NOTHROW
 Signaling NaN.
 
static HALF_CONSTEXPR half_float::half denorm_min () HALF_NOTHROW
 Smallest positive subnormal value.
 

Static Public Attributes

static HALF_CONSTEXPR_CONST bool is_specialized = true
 Is template specialization.
 
static HALF_CONSTEXPR_CONST bool is_signed = true
 Supports signed values.
 
static HALF_CONSTEXPR_CONST bool is_integer = false
 Is not an integer type.
 
static HALF_CONSTEXPR_CONST bool is_exact = false
 Is not exact.
 
static HALF_CONSTEXPR_CONST bool is_modulo = false
 Doesn't provide modulo arithmetic.
 
static HALF_CONSTEXPR_CONST bool is_bounded = true
 Has a finite set of values.
 
static HALF_CONSTEXPR_CONST bool is_iec559 = true
 IEEE conformant.
 
static HALF_CONSTEXPR_CONST bool has_infinity = true
 Supports infinity.
 
static HALF_CONSTEXPR_CONST bool has_quiet_NaN = true
 Supports quiet NaNs.
 
static HALF_CONSTEXPR_CONST bool has_signaling_NaN = true
 Supports signaling NaNs.
 
static HALF_CONSTEXPR_CONST float_denorm_style has_denorm = denorm_present
 Supports subnormal values.
 
static HALF_CONSTEXPR_CONST bool has_denorm_loss = false
 Supports no denormalization detection.
 
static HALF_CONSTEXPR_CONST bool traps = false
 Traps only if HALF_ERRHANDLING_THROW_... is acitvated.
 
static HALF_CONSTEXPR_CONST bool tinyness_before = false
 Does not support no pre-rounding underflow detection.
 
static HALF_CONSTEXPR_CONST float_round_style round_style = half_float::half::round_style
 Rounding mode.
 
static HALF_CONSTEXPR_CONST int digits = 11
 Significant digits.
 
static HALF_CONSTEXPR_CONST int digits10 = 3
 Significant decimal digits.
 
static HALF_CONSTEXPR_CONST int max_digits10 = 5
 Required decimal digits to represent all possible values.
 
static HALF_CONSTEXPR_CONST int radix = 2
 Number base.
 
static HALF_CONSTEXPR_CONST int min_exponent = -13
 One more than smallest exponent.
 
static HALF_CONSTEXPR_CONST int min_exponent10 = -4
 Smallest normalized representable power of 10.
 
static HALF_CONSTEXPR_CONST int max_exponent = 16
 One more than largest exponent.
 
static HALF_CONSTEXPR_CONST int max_exponent10 = 4
 Largest finitely representable power of 10.
 

Detailed Description

Numeric limits for half-precision floats. See also: Documentation for std::numeric_limits


The documentation for this class was generated from the following file: