#include <json.hpp>
|
constexpr | diyfp () noexcept |
|
constexpr | diyfp (uint64_t f_, int e_) noexcept |
|
Definition at line 7196 of file json.hpp.
constexpr nlohmann::detail::dtoa_impl::diyfp::diyfp |
( |
| ) |
|
|
inlinenoexcept |
constexpr nlohmann::detail::dtoa_impl::diyfp::diyfp |
( |
uint64_t |
f_, |
|
|
int |
e_ |
|
) |
| |
|
inlinenoexcept |
static diyfp nlohmann::detail::dtoa_impl::diyfp::mul |
( |
const diyfp & |
x, |
|
|
const diyfp & |
y |
|
) |
| |
|
inlinestaticnoexcept |
returns x * y
- Note
- The result is rounded. (Only the upper q bits are returned.)
Definition at line 7222 of file json.hpp.
static diyfp nlohmann::detail::dtoa_impl::diyfp::normalize |
( |
diyfp |
x | ) |
|
|
inlinestaticnoexcept |
normalize x such that the significand is >= 2^(q-1)
- Precondition
- x.f != 0
Definition at line 7287 of file json.hpp.
static diyfp nlohmann::detail::dtoa_impl::diyfp::normalize_to |
( |
const diyfp & |
x, |
|
|
const int |
target_exponent |
|
) |
| |
|
inlinestaticnoexcept |
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.
Definition at line 7304 of file json.hpp.
static diyfp nlohmann::detail::dtoa_impl::diyfp::sub |
( |
const diyfp & |
x, |
|
|
const diyfp & |
y |
|
) |
| |
|
inlinestaticnoexcept |
returns x - y
- Precondition
- x.e == y.e and x.f >= y.f
Definition at line 7210 of file json.hpp.
int nlohmann::detail::dtoa_impl::diyfp::e |
uint64_t nlohmann::detail::dtoa_impl::diyfp::f |
constexpr int nlohmann::detail::dtoa_impl::diyfp::kPrecision = 64 |
|
static |
The documentation for this struct was generated from the following file: