|
fixed_point128 1.0.1.0
128 bit integer, fixed point and floating point arithmetic for C++20
|
Numeric properties of fp128::float128, the binary128 interchange format. More...
#include <float128.h>
Static Public Member Functions | |
| static FP128_SUPPRESS_DEPRECATED_END constexpr fp128::float128 | min () noexcept |
| Smallest positive normal value, 2^-16382. | |
| static constexpr fp128::float128 | max () noexcept |
| Largest finite value, (2 - 2^-112) * 2^16383. | |
| static constexpr fp128::float128 | lowest () noexcept |
| Most negative finite value. | |
| static constexpr fp128::float128 | epsilon () noexcept |
| Difference between one and the next larger value, 2^-112. | |
| static constexpr fp128::float128 | round_error () noexcept |
| Largest rounding error in units in the last place, one half. | |
| static constexpr fp128::float128 | denorm_min () noexcept |
| Smallest positive subnormal, 2^-16494. | |
| static constexpr fp128::float128 | infinity () noexcept |
| static constexpr fp128::float128 | quiet_NaN () noexcept |
| static constexpr fp128::float128 | signaling_NaN () noexcept |
Static Public Attributes | |
| static constexpr bool | is_specialized = true |
| static constexpr bool | is_signed = true |
| static constexpr bool | is_integer = false |
| static constexpr bool | is_exact = false |
| static constexpr bool | has_infinity = true |
| static constexpr bool | has_quiet_NaN = true |
| static constexpr bool | has_signaling_NaN = true |
| static constexpr bool | is_bounded = true |
| static constexpr bool | is_modulo = false |
| static constexpr bool | is_iec559 = fp128::float128::is754version2008() |
| True only with FP128_IEEE_ENV, which adds the rounding directions and the exception flags IEEE 754 requires; the format and the default arithmetic conform either way. See float128::is754version2008(). | |
| static constexpr bool | traps = false |
| Exceptions raise flags (with FP128_IEEE_ENV) but never trap. | |
| static constexpr bool | tinyness_before = false |
| Tininess is detected after rounding, as x86 does for double. | |
| static constexpr float_round_style | round_style = round_to_nearest |
| static constexpr int | digits = 113 |
| Mantissa bits including the implicit leading one. | |
| static constexpr int | digits10 = 33 |
| Decimal digits that survive a round trip through the type. | |
| static constexpr int | max_digits10 = 36 |
| Decimal digits needed to distinguish every value of the type. | |
| static constexpr int | radix = 2 |
| static constexpr int | min_exponent = -16381 |
| static constexpr int | max_exponent = 16384 |
| static constexpr int | min_exponent10 = -4931 |
| static constexpr int | max_exponent10 = 4932 |
| static FP128_SUPPRESS_DEPRECATED_BEGIN constexpr float_denorm_style | has_denorm = denorm_present |
| static constexpr bool | has_denorm_loss = false |
Numeric properties of fp128::float128, the binary128 interchange format.
Specialized so that a function template written against a builtin floating point type - anything reaching for numeric_limits<T>::epsilon() to size a tolerance, or for max() to seed a minimum - compiles and behaves correctly when instantiated with float128.
The values are given as encodings rather than computed, which keeps every one of them usable in a constant expression and independent of the string parser.
The const, volatile and const volatile forms need no specialization of their own: <limits> already defines numeric_limits<cv T> to have the members of numeric_limits<T>.
Definition at line 7814 of file float128.h.
|
inlinestaticnodiscardconstexprnoexcept |
Smallest positive normal value, 2^-16382.
Definition at line 7856 of file float128.h.
|
inlinestaticnodiscardconstexprnoexcept |
Largest finite value, (2 - 2^-112) * 2^16383.
Definition at line 7858 of file float128.h.
|
inlinestaticnodiscardconstexprnoexcept |
Most negative finite value.
Definition at line 7860 of file float128.h.
|
inlinestaticnodiscardconstexprnoexcept |
Difference between one and the next larger value, 2^-112.
Definition at line 7862 of file float128.h.
|
inlinestaticnodiscardconstexprnoexcept |
Largest rounding error in units in the last place, one half.
Definition at line 7864 of file float128.h.
|
inlinestaticnodiscardconstexprnoexcept |
Smallest positive subnormal, 2^-16494.
Definition at line 7866 of file float128.h.
|
inlinestaticnodiscardconstexprnoexcept |
Definition at line 7867 of file float128.h.
|
inlinestaticnodiscardconstexprnoexcept |
Definition at line 7868 of file float128.h.
|
inlinestaticnodiscardconstexprnoexcept |
Definition at line 7869 of file float128.h.
|
staticconstexpr |
Definition at line 7817 of file float128.h.
|
staticconstexpr |
Definition at line 7818 of file float128.h.
|
staticconstexpr |
Definition at line 7819 of file float128.h.
|
staticconstexpr |
Definition at line 7820 of file float128.h.
|
staticconstexpr |
Definition at line 7821 of file float128.h.
|
staticconstexpr |
Definition at line 7822 of file float128.h.
|
staticconstexpr |
Definition at line 7823 of file float128.h.
|
staticconstexpr |
Definition at line 7824 of file float128.h.
|
staticconstexpr |
Definition at line 7825 of file float128.h.
|
staticconstexpr |
True only with FP128_IEEE_ENV, which adds the rounding directions and the exception flags IEEE 754 requires; the format and the default arithmetic conform either way. See float128::is754version2008().
Definition at line 7829 of file float128.h.
|
staticconstexpr |
Exceptions raise flags (with FP128_IEEE_ENV) but never trap.
Definition at line 7831 of file float128.h.
|
staticconstexpr |
Tininess is detected after rounding, as x86 does for double.
Definition at line 7833 of file float128.h.
|
staticconstexpr |
Definition at line 7834 of file float128.h.
|
staticconstexpr |
Mantissa bits including the implicit leading one.
Definition at line 7837 of file float128.h.
|
staticconstexpr |
Decimal digits that survive a round trip through the type.
Definition at line 7839 of file float128.h.
|
staticconstexpr |
Decimal digits needed to distinguish every value of the type.
Definition at line 7841 of file float128.h.
|
staticconstexpr |
Definition at line 7842 of file float128.h.
|
staticconstexpr |
Definition at line 7843 of file float128.h.
|
staticconstexpr |
Definition at line 7844 of file float128.h.
|
staticconstexpr |
Definition at line 7845 of file float128.h.
|
staticconstexpr |
Definition at line 7846 of file float128.h.
|
staticconstexpr |
Definition at line 7851 of file float128.h.
|
staticconstexpr |
Definition at line 7852 of file float128.h.