|
constexpr | diyfp (std::uint64_t f_, int e_) noexcept |
|
constexpr | diyfp (std::uint64_t f_, int e_) noexcept |
|
|
std::uint64_t | f = 0 |
|
int | e = 0 |
|
|
static constexpr int | kPrecision = 64 |
|
◆ mul() [1/2]
static diyfp 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.)
◆ mul() [2/2]
static diyfp 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.)
◆ normalize() [1/2]
static diyfp detail::dtoa_impl::diyfp::normalize |
( |
diyfp | x | ) |
|
|
inlinestaticnoexcept |
normalize x such that the significand is >= 2^(q-1)
- Precondition
- x.f != 0
◆ normalize() [2/2]
static diyfp detail::dtoa_impl::diyfp::normalize |
( |
diyfp | x | ) |
|
|
inlinestaticnoexcept |
normalize x such that the significand is >= 2^(q-1)
- Precondition
- x.f != 0
◆ normalize_to() [1/2]
static 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.
◆ normalize_to() [2/2]
static 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.
◆ sub() [1/2]
static diyfp 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
◆ sub() [2/2]
static diyfp 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
The documentation for this struct was generated from the following files:
- D:/DEV JEUX/2025/CPP/Opengl/ClutterEngineOpenGL/ClutterEngine/Libraries/include/json/json.h
- D:/DEV JEUX/2025/CPP/Opengl/ClutterEngineOpenGL/ClutterEngine/Libraries/include/json/json.hpp