|
Uni20
Asynchronous tensor and runtime library.
|
Type properties and explicit runtime limits for exact-or-approximate reals. More...
#include <mpreal.hpp>
Static Public Member Functions | |
| static mpfr_prec_t | digits (mpreal const &x) |
| static mpfr_prec_t | digits (Precision p) |
| Significand bits at a finite working precision. | |
| static mpreal | epsilon ()=delete |
| static mpreal | epsilon (mpreal const &x) |
| static mpreal | epsilon (Precision p) |
| Spacing above one at a finite working precision. | |
Static Public Attributes | |
| static constexpr bool | has_infinity = true |
| static constexpr bool | has_quiet_NaN = true |
| static constexpr bool | is_bounded = false |
| static constexpr bool | is_exact = false |
| static constexpr bool | is_iec559 = false |
| static constexpr bool | is_integer = false |
| static constexpr bool | is_signed = true |
| static constexpr bool | is_specialized = true |
| static constexpr int | radix = 2 |
Type properties and explicit runtime limits for exact-or-approximate reals.
Precision-dependent queries require a finite Precision or an approximate exemplar. There is no type-wide epsilon or digit count. Unimplemented limits are intentionally absent, rather than inheriting the zero-valued defaults of an unspecialized std::numeric_limits.
|
inlinestatic |
|
inlinestatic |
Significand bits at a finite working precision.
|
staticdelete |
|
inlinestatic |
|
inlinestatic |
Spacing above one at a finite working precision.
| std::logic_error | If the precision is exact or the exemplar is unset. |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |