WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
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 FMT_CONSTEXPR_DECL const int significand_size
 

Detailed Description

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

Constructor & Destructor Documentation

◆ fp() [1/3]

internal::fp::fp ( )
inline

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

◆ fp() [2/3]

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

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

◆ fp() [3/3]

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

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

Here is the call graph for this function:

Member Function Documentation

◆ compute_boundaries()

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

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ normalize()

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

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

Here is the caller graph for this function:

Member Data Documentation

◆ e

int internal::fp::e

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

◆ f

significand_type internal::fp::f

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

◆ significand_size

FMT_CONSTEXPR_DECL const int 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: