Audacity 3.2.0
|
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 More... | |
static diyfp | mul (const diyfp &x, const diyfp &y) noexcept |
returns x * y More... | |
static diyfp | normalize (diyfp x) noexcept |
normalize x such that the significand is >= 2^(q-1) More... | |
static diyfp | normalize_to (const diyfp &x, const int target_exponent) noexcept |
normalize x such that the result has the exponent E More... | |
Public Attributes | |
std::uint64_t | f = 0 |
int | e = 0 |
Static Public Attributes | |
static constexpr int | kPrecision = 64 |
Definition at line 163 of file ToChars.cpp.
|
inlineconstexprnoexcept |
Definition at line 170 of file ToChars.cpp.
|
inlinestaticnoexcept |
returns x * y
Definition at line 190 of file ToChars.cpp.
References kPrecision.
Referenced by internal::dtoa_impl::grisu2().
normalize x such that the significand is >= 2^(q-1)
Definition at line 280 of file ToChars.cpp.
References f.
Referenced by internal::dtoa_impl::compute_boundaries().
|
inlinestaticnoexcept |
normalize x such that the result has the exponent E
Definition at line 296 of file ToChars.cpp.
References e.
Referenced by internal::dtoa_impl::compute_boundaries().
|
inlinestaticnoexcept |
returns x - y
Definition at line 180 of file ToChars.cpp.
References f.
Referenced by internal::dtoa_impl::grisu2_digit_gen().
int internal::dtoa_impl::diyfp::e = 0 |
Definition at line 168 of file ToChars.cpp.
Referenced by internal::dtoa_impl::compute_boundaries(), internal::dtoa_impl::grisu2(), internal::dtoa_impl::grisu2_digit_gen(), and normalize_to().
std::uint64_t internal::dtoa_impl::diyfp::f = 0 |
Definition at line 167 of file ToChars.cpp.
Referenced by internal::dtoa_impl::compute_boundaries(), internal::dtoa_impl::grisu2(), internal::dtoa_impl::grisu2_digit_gen(), normalize(), and sub().
|
staticconstexpr |
Definition at line 165 of file ToChars.cpp.
Referenced by internal::dtoa_impl::grisu2(), and mul().