WPILibC++ 2025.3.1
Loading...
Searching...
No Matches
detail::basic_fp< F > Struct Template Reference

#include <fmt/format.h>

Public Member Functions

constexpr basic_fp ()
 
constexpr basic_fp (uint64_t f_val, int e_val)
 
template<typename Float >
FMT_CONSTEXPR basic_fp (Float n)
 
template<typename Float , FMT_ENABLE_IF(!is_double_double< Float >::value) >
FMT_CONSTEXPR auto assign (Float n) -> bool
 
template<typename Float , FMT_ENABLE_IF(is_double_double< Float >::value) >
FMT_CONSTEXPR auto assign (Float n) -> bool
 

Public Attributes

f
 
int e
 

Static Public Attributes

static constexpr const int num_significand_bits
 

Constructor & Destructor Documentation

◆ basic_fp() [1/3]

template<typename F >
detail::basic_fp< F >::basic_fp ( )
inlineconstexpr

◆ basic_fp() [2/3]

template<typename F >
detail::basic_fp< F >::basic_fp ( uint64_t f_val,
int e_val )
inlineconstexpr

◆ basic_fp() [3/3]

template<typename F >
template<typename Float >
FMT_CONSTEXPR detail::basic_fp< F >::basic_fp ( Float n)
inline

Member Function Documentation

◆ assign() [1/2]

template<typename F >
template<typename Float , FMT_ENABLE_IF(!is_double_double< Float >::value) >
FMT_CONSTEXPR auto detail::basic_fp< F >::assign ( Float n) -> bool
inline

◆ assign() [2/2]

template<typename F >
template<typename Float , FMT_ENABLE_IF(is_double_double< Float >::value) >
FMT_CONSTEXPR auto detail::basic_fp< F >::assign ( Float n) -> bool
inline

Member Data Documentation

◆ e

template<typename F >
int detail::basic_fp< F >::e

◆ f

template<typename F >
F detail::basic_fp< F >::f

◆ num_significand_bits

template<typename F >
const int detail::basic_fp< F >::num_significand_bits
staticconstexpr
Initial value:
=
static_cast<int>(sizeof(F) * num_bits<unsigned char>())
constexpr auto num_bits() -> int
Definition format.h:410

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