Agora  1.2.0
Agora project
fmt::v8::detail::fp Struct Reference

#include <format-inl.h>

Public Types

template<typename Float >
using is_supported = bool_constant< sizeof(Float)==sizeof(uint64_t)||sizeof(Float)==sizeof(uint32_t)>
 

Public Member Functions

constexpr fp ()
 
constexpr fp (uint64_t f_val, int e_val)
 
template<typename Float >
 fp (Float n)
 
template<typename Float , enable_if_t<(is_supported< Float >::value), int > = 0>
bool assign (Float n)
 
template<typename Float , enable_if_t<(!is_supported< Float >::value), int > = 0>
bool assign (Float)
 

Public Attributes

uint64_t f
 
int e
 

Static Public Attributes

static constexpr const int num_significand_bits = bits<decltype(f)>::value
 

Member Typedef Documentation

◆ is_supported

template<typename Float >
using fmt::v8::detail::fp::is_supported = bool_constant<sizeof(Float) == sizeof(uint64_t) || sizeof(Float) == sizeof(uint32_t)>

Constructor & Destructor Documentation

◆ fp() [1/3]

constexpr fmt::v8::detail::fp::fp ( )
inlineconstexpr

◆ fp() [2/3]

constexpr fmt::v8::detail::fp::fp ( uint64_t  f_val,
int  e_val 
)
inlineconstexpr

◆ fp() [3/3]

template<typename Float >
fmt::v8::detail::fp::fp ( Float  n)
inlineexplicit
Here is the call graph for this function:

Member Function Documentation

◆ assign() [1/2]

template<typename Float , enable_if_t<(is_supported< Float >::value), int > = 0>
bool fmt::v8::detail::fp::assign ( Float  n)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ assign() [2/2]

template<typename Float , enable_if_t<(!is_supported< Float >::value), int > = 0>
bool fmt::v8::detail::fp::assign ( Float  )
inline

Member Data Documentation

◆ e

int fmt::v8::detail::fp::e

◆ f

uint64_t fmt::v8::detail::fp::f

◆ num_significand_bits

constexpr const int fmt::v8::detail::fp::num_significand_bits = bits<decltype(f)>::value
staticconstexpr

The documentation for this struct was generated from the following file: