#include <json.hpp>
◆ diyfp()
constexpr detail::dtoa_impl::diyfp::diyfp |
( |
std::uint64_t |
f_, |
|
|
int |
e_ |
|
) |
| |
|
inlineconstexprnoexcept |
◆ mul()
returns x * y
- Note
- The result is rounded. (Only the upper q bits are returned.)
◆ normalize()
static diyfp detail::dtoa_impl::diyfp::normalize |
( |
diyfp |
x | ) |
|
|
inlinestaticnoexcept |
normalize x such that the significand is >= 2^(q-1)
- Precondition
- x.f != 0
◆ normalize_to()
normalize x such that the result has the exponent E
- Precondition
- e >= x.e and the upper e - x.e bits of x.f must be zero.
◆ sub()
returns x - y
- Precondition
- x.e == y.e and x.f >= y.f
int detail::dtoa_impl::diyfp::e = 0 |
◆ kPrecision
constexpr int detail::dtoa_impl::diyfp::kPrecision = 64 |
|
staticconstexpr |
The documentation for this struct was generated from the following file:
- /home/runner/work/NDDEM/NDDEM/src/Dem/json.hpp