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 175 of file format-inl.h.

Constructor & Destructor Documentation

detail::fp::fp ( )
inline

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

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

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

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

Definition at line 202 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 206 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 233 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 190 of file format-inl.h.

int detail::fp::e

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

significand_type detail::fp::f

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

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

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

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

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


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