WPILibC++ 2024.3.2
detail::basic_fp< F > Struct Template Reference

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/fmtlib/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 >
constexpr detail::basic_fp< F >::basic_fp ( )
inlineconstexpr

◆ basic_fp() [2/3]

template<typename F >
constexpr 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 >
constexpr const int detail::basic_fp< F >::num_significand_bits
staticconstexpr
Initial value:
=
static_cast<int>(sizeof(F) * num_bits<unsigned char>())
static constexpr const unit_t< compound_unit< charge::coulomb, inverse< substance::mol > > > F(N_A *e)
Faraday constant.

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