HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
detail::fp Class Reference

#include <format-inl.h>

Public Member Functions

 fp ()
 
 fp (uint64_t f_val, int e_val)
 
template<typename Double >
 fp (Double d)
 
template<typename Float , FMT_ENABLE_IF(is_supported_float< Float >::value) >
bool assign (Float d)
 
template<typename Float , FMT_ENABLE_IF(!is_supported_float< Float >::value) >
bool assign (Float)
 

Public Attributes

significand_type f
 
int e
 

Static Public Attributes

static FMT_CONSTEXPR_DECL const int double_significand_size
 
static FMT_CONSTEXPR_DECL
const uint64_t 
implicit_bit
 
static FMT_CONSTEXPR_DECL const int significand_size
 

Detailed Description

Definition at line 1095 of file format-inl.h.

Constructor & Destructor Documentation

detail::fp::fp ( )
inline

Definition at line 1117 of file format-inl.h.

detail::fp::fp ( uint64_t  f_val,
int  e_val 
)
inline

Definition at line 1118 of file format-inl.h.

template<typename Double >
detail::fp::fp ( Double  d)
inlineexplicit

Definition at line 1122 of file format-inl.h.

Member Function Documentation

template<typename Float , FMT_ENABLE_IF(is_supported_float< Float >::value) >
bool detail::fp::assign ( Float  d)
inline

Definition at line 1126 of file format-inl.h.

template<typename Float , FMT_ENABLE_IF(!is_supported_float< Float >::value) >
bool detail::fp::assign ( Float  )
inline

Definition at line 1153 of file format-inl.h.

Member Data Documentation

FMT_CONSTEXPR_DECL const int detail::fp::double_significand_size
static
Initial value:
=
std::numeric_limits<double>::digits - 1

Definition at line 1110 of file format-inl.h.

int detail::fp::e

Definition at line 1105 of file format-inl.h.

significand_type detail::fp::f

Definition at line 1104 of file format-inl.h.

FMT_CONSTEXPR_DECL const uint64_t detail::fp::implicit_bit
static
Initial value:

Definition at line 1112 of file format-inl.h.

FMT_CONSTEXPR_DECL const int detail::fp::significand_size
static
Initial value:

Definition at line 1114 of file format-inl.h.


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