Livox SDK API  V2.2.0
fmt::v5::internal::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<int SHIFT = 0>
void normalize ()
 
void compute_boundaries (fp &lower, fp &upper) const
 

Public Attributes

significand_type f
 
int e
 

Static Public Attributes

static const int significand_size
 

Detailed Description

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

Constructor & Destructor Documentation

fmt::v5::internal::fp::fp ( )
inline

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

fmt::v5::internal::fp::fp ( uint64_t  f_val,
int  e_val 
)
inline

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

template<typename Double >
fmt::v5::internal::fp::fp ( Double  d)
inlineexplicit

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

Member Function Documentation

void fmt::v5::internal::fp::compute_boundaries ( fp lower,
fp upper 
) const
inline

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

template<int SHIFT = 0>
void fmt::v5::internal::fp::normalize ( )
inline

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

Member Data Documentation

int fmt::v5::internal::fp::e

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

significand_type fmt::v5::internal::fp::f

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

const int fmt::v5::internal::fp::significand_size
static
Initial value:
=
sizeof(significand_type) * char_size

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


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