#include <goby/util/thirdparty/nlohmann/json.hpp>
|
| constexpr | diyfp (std::uint64_t f_, int e_) noexcept |
|
| std::uint64_t | f = 0 |
| int | e = 0 |
Definition at line 17677 of file json.hpp.
◆ diyfp()
| 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.)
Definition at line 17702 of file json.hpp.
◆ normalize()
| diyfp 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 17767 of file json.hpp.
◆ normalize_to()
| diyfp 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 17784 of file json.hpp.
◆ sub()
returns x - y
- Precondition
- x.e == y.e and x.f >= y.f
Definition at line 17690 of file json.hpp.
| int detail::dtoa_impl::diyfp::e = 0 |
| std::uint64_t detail::dtoa_impl::diyfp::f = 0 |
◆ kPrecision
| int detail::dtoa_impl::diyfp::kPrecision = 64 |
|
staticconstexpr |
The documentation for this struct was generated from the following file: