|
sparrow 1.4.0
C++20 idiomatic APIs for the Apache Arrow Columnar Format
|
Numeric limits for half-precision floats. More...
#include <float16_t.hpp>
Static Public Member Functions | |
| static constexpr half_float::half | min () noexcept |
| Smallest positive normal value. | |
| static constexpr half_float::half | lowest () noexcept |
| Smallest finite value. | |
| static constexpr half_float::half | max () noexcept |
| Largest finite value. | |
| static constexpr half_float::half | epsilon () noexcept |
| Difference between 1 and next representable value. | |
| static constexpr half_float::half | round_error () noexcept |
| Maximum rounding error in ULP (units in the last place). | |
| static constexpr half_float::half | infinity () noexcept |
| Positive infinity. | |
| static constexpr half_float::half | quiet_NaN () noexcept |
| Quiet NaN. | |
| static constexpr half_float::half | signaling_NaN () noexcept |
| Signaling NaN. | |
| static constexpr half_float::half | denorm_min () noexcept |
| Smallest positive subnormal value. | |
Static Public Attributes | |
| static constexpr bool | is_specialized = true |
| Is template specialization. | |
| static constexpr bool | is_signed = true |
| Supports signed values. | |
| static constexpr bool | is_integer = false |
| Is not an integer type. | |
| static constexpr bool | is_exact = false |
| Is not exact. | |
| static constexpr bool | is_modulo = false |
| Doesn't provide modulo arithmetic. | |
| static constexpr bool | is_bounded = true |
| Has a finite set of values. | |
| static constexpr bool | is_iec559 = true |
| IEEE conformant. | |
| static constexpr bool | has_infinity = true |
| Supports infinity. | |
| static constexpr bool | has_quiet_NaN = true |
| Supports quiet NaNs. | |
| static constexpr bool | has_signaling_NaN = true |
| Supports signaling NaNs. | |
| static constexpr float_denorm_style | has_denorm = denorm_present |
| Supports subnormal values. | |
| static constexpr bool | has_denorm_loss = false |
| Supports no denormalization detection. | |
| static constexpr bool | traps = false |
| Traps only if HALF_ERRHANDLING_THROW_... is acitvated. | |
| static constexpr bool | tinyness_before = false |
| Does not support no pre-rounding underflow detection. | |
| static constexpr float_round_style | round_style = half_float::half::round_style |
| Rounding mode. | |
| static constexpr int | digits = 11 |
| Significant digits. | |
| static constexpr int | digits10 = 3 |
| Significant decimal digits. | |
| static constexpr int | max_digits10 = 5 |
| Required decimal digits to represent all possible values. | |
| static constexpr int | radix = 2 |
| Number base. | |
| static constexpr int | min_exponent = -13 |
| One more than smallest exponent. | |
| static constexpr int | min_exponent10 = -4 |
| Smallest normalized representable power of 10. | |
| static constexpr int | max_exponent = 16 |
| One more than largest exponent. | |
| static constexpr int | max_exponent10 = 4 |
| Largest finitely representable power of 10. | |
Numeric limits for half-precision floats.
See also: Documentation for std::numeric_limits
Definition at line 1945 of file float16_t.hpp.
|
inlinestaticconstexprnoexcept |
Smallest positive subnormal value.
Definition at line 2049 of file float16_t.hpp.
|
inlinestaticconstexprnoexcept |
Difference between 1 and next representable value.
Definition at line 2033 of file float16_t.hpp.
|
inlinestaticconstexprnoexcept |
Positive infinity.
Definition at line 2040 of file float16_t.hpp.
|
inlinestaticconstexprnoexcept |
Smallest finite value.
Definition at line 2027 of file float16_t.hpp.
|
inlinestaticconstexprnoexcept |
Largest finite value.
Definition at line 2030 of file float16_t.hpp.
|
inlinestaticconstexprnoexcept |
Smallest positive normal value.
Definition at line 2024 of file float16_t.hpp.
|
inlinestaticconstexprnoexcept |
Quiet NaN.
Definition at line 2043 of file float16_t.hpp.
|
inlinestaticconstexprnoexcept |
Maximum rounding error in ULP (units in the last place).
Definition at line 2036 of file float16_t.hpp.
|
inlinestaticconstexprnoexcept |
Signaling NaN.
Definition at line 2046 of file float16_t.hpp.
|
staticconstexpr |
Significant digits.
Definition at line 2000 of file float16_t.hpp.
|
staticconstexpr |
Significant decimal digits.
Definition at line 2003 of file float16_t.hpp.
|
staticconstexpr |
Supports subnormal values.
Definition at line 1980 of file float16_t.hpp.
|
staticconstexpr |
Supports no denormalization detection.
Definition at line 1984 of file float16_t.hpp.
|
staticconstexpr |
Supports infinity.
Definition at line 1969 of file float16_t.hpp.
|
staticconstexpr |
Supports quiet NaNs.
Definition at line 1972 of file float16_t.hpp.
|
staticconstexpr |
Supports signaling NaNs.
Definition at line 1975 of file float16_t.hpp.
|
staticconstexpr |
Has a finite set of values.
Definition at line 1963 of file float16_t.hpp.
|
staticconstexpr |
Is not exact.
Definition at line 1957 of file float16_t.hpp.
|
staticconstexpr |
IEEE conformant.
Definition at line 1966 of file float16_t.hpp.
|
staticconstexpr |
Is not an integer type.
Definition at line 1954 of file float16_t.hpp.
|
staticconstexpr |
Doesn't provide modulo arithmetic.
Definition at line 1960 of file float16_t.hpp.
|
staticconstexpr |
Supports signed values.
Definition at line 1951 of file float16_t.hpp.
|
staticconstexpr |
Is template specialization.
Definition at line 1948 of file float16_t.hpp.
|
staticconstexpr |
Required decimal digits to represent all possible values.
Definition at line 2006 of file float16_t.hpp.
|
staticconstexpr |
One more than largest exponent.
Definition at line 2018 of file float16_t.hpp.
|
staticconstexpr |
Largest finitely representable power of 10.
Definition at line 2021 of file float16_t.hpp.
|
staticconstexpr |
One more than smallest exponent.
Definition at line 2012 of file float16_t.hpp.
|
staticconstexpr |
Smallest normalized representable power of 10.
Definition at line 2015 of file float16_t.hpp.
|
staticconstexpr |
Number base.
Definition at line 2009 of file float16_t.hpp.
|
staticconstexpr |
Rounding mode.
Definition at line 1997 of file float16_t.hpp.
|
staticconstexpr |
Does not support no pre-rounding underflow detection.
Definition at line 1994 of file float16_t.hpp.
|
staticconstexpr |
Traps only if HALF_ERRHANDLING_THROW_... is acitvated.
Definition at line 1990 of file float16_t.hpp.