HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
basic_fp< F > Struct Template Reference

#include <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
 

Detailed Description

template<typename F>
struct basic_fp< F >

Examples:
standalone/dsmprint.C.

Definition at line 1651 of file format.h.

Constructor & Destructor Documentation

template<typename F>
constexpr basic_fp< F >::basic_fp ( )
inline

Definition at line 1658 of file format.h.

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

Definition at line 1659 of file format.h.

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

Definition at line 1662 of file format.h.

Member Function Documentation

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

Definition at line 1666 of file format.h.

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

Definition at line 1691 of file format.h.

Member Data Documentation

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

Definition at line 1653 of file format.h.

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

Definition at line 1652 of file format.h.

template<typename F>
constexpr const int basic_fp< F >::num_significand_bits
static
Initial value:
=
static_cast<int>(sizeof(F) * num_bits<unsigned char>())

Definition at line 1655 of file format.h.


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