|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <json.hpp>
Public Member Functions | |
| constexpr | diyfp (std::uint64_t f_, int e_) noexcept |
Static Public Member Functions | |
| static diyfp | sub (const diyfp &x, const diyfp &y) noexcept |
| returns x - y | |
| 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 | |
Public Attributes | |
| std::uint64_t | f = 0 |
| int | e = 0 |
Static Public Attributes | |
| static constexpr int | kPrecision = 64 |
|
inlineconstexprnoexcept |
Definition at line 14114 of file json.hpp.
Referenced by mul(), normalize(), normalize_to(), and sub().
|
inlinestaticnoexcept |
Definition at line 14135 of file json.hpp.
References diyfp(), kPrecision, x, and y.
Referenced by nlohmann::detail::dtoa_impl::grisu2().
Definition at line 14200 of file json.hpp.
References diyfp(), JSON_ASSERT, and x.
Referenced by nlohmann::detail::dtoa_impl::compute_boundaries().
|
inlinestaticnoexcept |
Definition at line 14216 of file json.hpp.
References diyfp(), delta, JSON_ASSERT, and x.
Referenced by nlohmann::detail::dtoa_impl::compute_boundaries().
|
inlinestaticnoexcept |
Definition at line 14123 of file json.hpp.
References diyfp(), JSON_ASSERT, x, and y.
Referenced by nlohmann::detail::dtoa_impl::grisu2_digit_gen().
| int nlohmann::detail::dtoa_impl::diyfp::e = 0 |
Definition at line 14112 of file json.hpp.
Referenced by nlohmann::detail::dtoa_impl::compute_boundaries(), nlohmann::detail::dtoa_impl::grisu2(), and nlohmann::detail::dtoa_impl::grisu2_digit_gen().
| std::uint64_t nlohmann::detail::dtoa_impl::diyfp::f = 0 |
Definition at line 14111 of file json.hpp.
Referenced by nlohmann::detail::dtoa_impl::grisu2(), and nlohmann::detail::dtoa_impl::grisu2_digit_gen().
|
staticconstexpr |
Definition at line 14109 of file json.hpp.
Referenced by nlohmann::detail::dtoa_impl::grisu2(), and mul().