template <typename F>

struct basic_fp

Defined at line 1537 of file ../../third_party/fmtlib/src/include/fmt/format.h

A floating-point number f * pow(2, e) where F is an unsigned type.

Public Members

F f
int e
static const int num_significand_bits

Public Methods

void basic_fp<F> ()

Defined at line 1544 of file ../../third_party/fmtlib/src/include/fmt/format.h

void basic_fp<F> (uint64_t f_val, int e_val)

Defined at line 1545 of file ../../third_party/fmtlib/src/include/fmt/format.h

template <typename Float>
void basic_fp<F> (Float n)

Constructs fp from an IEEE754 floating-point number.

Defined at line 1548 of file ../../third_party/fmtlib/src/include/fmt/format.h

template <typename Float, FMT_ENABLE_IF(!is_double_double<Float>::value)>
bool assign (Float n)

Assigns n to this and return true iff predecessor is closer than successor.

Defined at line 1552 of file ../../third_party/fmtlib/src/include/fmt/format.h

template <typename Float, FMT_ENABLE_IF(is_double_double<Float>::value)>
bool assign (Float n)

Defined at line 1577 of file ../../third_party/fmtlib/src/include/fmt/format.h