Public Member Functions | Public Attributes | Static Public Attributes | List of all members
detail::basic_fp< F > Struct Template Reference

#include <format.h>

Public Member Functions

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
 
constexpr basic_fp ()
 
template<typename Float >
FMT_CONSTEXPR basic_fp (Float n)
 
constexpr basic_fp (uint64_t f_val, int e_val)
 

Public Attributes

int e
 
f
 

Static Public Attributes

static constexpr const int num_significand_bits
 

Detailed Description

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

Definition at line 1617 of file format.h.

Constructor & Destructor Documentation

◆ basic_fp() [1/3]

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

Definition at line 1624 of file format.h.

◆ basic_fp() [2/3]

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

Definition at line 1625 of file format.h.

◆ basic_fp() [3/3]

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

Definition at line 1628 of file format.h.

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

Definition at line 1632 of file format.h.

◆ 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

Definition at line 1657 of file format.h.

Member Data Documentation

◆ e

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

Definition at line 1619 of file format.h.

◆ f

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

Definition at line 1618 of file format.h.

◆ 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>())

Definition at line 1621 of file format.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:51