![]() |
TerraForge3D
2.3.1
3D Terrain And Landscape Generator
|
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 |