Collaboration diagram for detail::dtoa_impl::diyfp:Public Member Functions | |
| constexpr | diyfp (std::uint64_t f_, int e_) noexcept |
Static Public Member Functions | |
| static diyfp | mul (const diyfp &x, const diyfp &y) noexcept |
| returns x * y | |
| static diyfp | normalize (diyfp x) noexcept |
| normalize x such that the significand is >= 2^(q-1) | |
| static diyfp | normalize_to (const diyfp &x, const int target_exponent) noexcept |
| normalize x such that the result has the exponent E | |
| static diyfp | sub (const diyfp &x, const diyfp &y) noexcept |
| returns x - y | |
Public Attributes | |
| int | e = 0 |
| std::uint64_t | f = 0 |
Static Public Attributes | |
| static constexpr int | kPrecision = 64 |
|
inlineconstexprnoexcept |
normalize x such that the significand is >= 2^(q-1)
Definition at line 17858 of file json.h.
References JSON_ASSERT.
|
inlinestaticnoexcept |
normalize x such that the result has the exponent E
Definition at line 17875 of file json.h.
References JSON_ASSERT.
|
inlinestaticnoexcept |
returns x - y
Definition at line 17781 of file json.h.
References JSON_ASSERT.
| int detail::dtoa_impl::diyfp::e = 0 |
Definition at line 17773 of file json.h.
Referenced by detail::dtoa_impl::compute_boundaries(), detail::dtoa_impl::grisu2(), and detail::dtoa_impl::grisu2_digit_gen().
| std::uint64_t detail::dtoa_impl::diyfp::f = 0 |
Definition at line 17772 of file json.h.
Referenced by detail::dtoa_impl::compute_boundaries(), detail::dtoa_impl::grisu2(), and detail::dtoa_impl::grisu2_digit_gen().
|
staticconstexpr |