struct basic_fp

Declaration

template <typename F>
struct basic_fp { /* full declaration omitted */ };

Declared at: third_party/fmt/include/fmt/format.h:1651

Templates

F

Member Variables

public F f
public int e
public static const int num_significand_bits = static_cast<int>(sizeof(type-parameter-0-0) * num_bits<unsigned char>())

Method Overview

  • public template <typename Float, fmt::enable_if_t<(!is_double_double<Float>::value), int> = 0>constexpr auto assign(Float n) -> bool
  • public template <typename Float, fmt::enable_if_t<(is_double_double<Float>::value), int> = 0>constexpr auto assign(Float n) -> bool
  • public constexpr basic_fp<F>()
  • public constexpr basic_fp<F>(uint64_t f_val, int e_val)
  • public template <typename Float>constexpr basic_fp<F>(Float n)

Methods

template <typename Float,
          fmt::enable_if_t<
              (!is_double_double<Float>::value),
              int> = 0>
constexpr auto assign(Float n) -> bool

Declared at: third_party/fmt/include/fmt/format.h:1666

Templates

Float
fmt::enable_if_t<(!is_double_double::value), int>

Parameters

Float n

template <typename Float,
          fmt::enable_if_t<
              (is_double_double<Float>::value),
              int> = 0>
constexpr auto assign(Float n) -> bool

Declared at: third_party/fmt/include/fmt/format.h:1691

Templates

Float
fmt::enable_if_t<(is_double_double::value), int>

Parameters

Float n

constexpr basic_fp<F>()

Declared at: third_party/fmt/include/fmt/format.h:1658

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

Declared at: third_party/fmt/include/fmt/format.h:1659

Parameters

uint64_t f_val
int e_val

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

Declared at: third_party/fmt/include/fmt/format.h:1662

Templates

Float

Parameters

Float n