#include <format-inl.h>
Definition at line 353 of file format-inl.h.
internal::fp::fp |
( |
uint64_t |
f_val, |
|
|
int |
e_val |
|
) |
| |
|
inline |
template<typename Double >
Definition at line 380 of file format-inl.h.
382 typedef std::numeric_limits<Double>
limits;
383 const int double_size =
static_cast<int>(
sizeof(Double) *
char_size);
384 const int exponent_size =
387 const uint64_t exponent_mask = (~0ull >> 1) & ~significand_mask;
388 const int exponent_bias = (1 << exponent_size) - limits::max_exponent - 1;
390 auto biased_e = (u & exponent_mask) >> double_significand_size;
391 f = u & significand_mask;
static FMT_CONSTEXPR_DECL const uint64_t implicit_bit
static FMT_CONSTEXPR_DECL const int double_significand_size
Dest bit_cast(const Source &source)
unsigned __int64 uint64_t
static FMT_CONSTEXPR_DECL const int char_size
void internal::fp::compute_boundaries |
( |
fp & |
lower, |
|
|
fp & |
upper |
|
) |
| const |
|
inline |
Definition at line 418 of file format-inl.h.
420 fp((
f << 2) - 1,
e - 2) : fp((
f << 1) - 1,
e - 1);
421 upper =
fp((
f << 1) + 1,
e - 1);
422 upper.normalize<1>();
423 lower.f <<= lower.e - upper.e;
static FMT_CONSTEXPR_DECL const uint64_t implicit_bit
template<int SHIFT = 0>
void internal::fp::normalize |
( |
| ) |
|
|
inline |
Definition at line 401 of file format-inl.h.
404 while ((
f & shifted_implicit_bit) == 0) {
static FMT_CONSTEXPR_DECL const uint64_t implicit_bit
static FMT_CONSTEXPR_DECL const int double_significand_size
static FMT_CONSTEXPR_DECL const int significand_size
Initial value:=
std::numeric_limits<unsigned char>::digits
Definition at line 358 of file format-inl.h.
Initial value:=
std::numeric_limits<double>::digits - 1
Definition at line 362 of file format-inl.h.
The documentation for this class was generated from the following file: