|
Uni20
Asynchronous tensor and runtime library.
|
A precisionless decimal spelling produced by the _mp literal operator. More...
#include <exact_rational.hpp>
Public Member Functions | |
| mpreal | at (Precision precision) const |
| Materialize the literal with one rounding to the requested precision. | |
| constexpr bool | is_exact () const noexcept |
| constexpr std::string_view | spelling () const noexcept |
Friends | |
| constexpr decimal_literal | literals::operator""_mp (char const *text) |
A precisionless decimal spelling produced by the _mp literal operator.
Literal text has static lifetime. Arithmetic materializes an owning exact rational, never an expression referring to other operands.
Materialize the literal with one rounding to the requested precision.
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
friend |