cphot 0.1
A C++ tool for computing photometry from spectra.
internal::Double Class Reference

#include <ieee754.h>

Public Member Functions

 Double ()
 
 Double (double d)
 
 Double (uint64_t u)
 
double Value () const
 
uint64_t Uint64Value () const
 
double NextPositiveDouble () const
 
bool Sign () const
 
uint64_t Significand () const
 
int Exponent () const
 
bool IsNan () const
 
bool IsInf () const
 
bool IsNanOrInf () const
 
bool IsNormal () const
 
bool IsZero () const
 
uint64_t IntegerSignificand () const
 
int IntegerExponent () const
 
uint64_t ToBias () const
 

Static Public Member Functions

static unsigned EffectiveSignificandSize (int order)
 

Detailed Description

Definition at line 23 of file ieee754.h.

Constructor & Destructor Documentation

◆ Double() [1/3]

internal::Double::Double ( )
inline

Definition at line 25 of file ieee754.h.

◆ Double() [2/3]

internal::Double::Double ( double  d)
inline

Definition at line 26 of file ieee754.h.

◆ Double() [3/3]

internal::Double::Double ( uint64_t  u)
inline

Definition at line 27 of file ieee754.h.

Member Function Documentation

◆ EffectiveSignificandSize()

static unsigned internal::Double::EffectiveSignificandSize ( int  order)
inlinestatic

Definition at line 51 of file ieee754.h.

◆ Exponent()

int internal::Double::Exponent ( ) const
inline

Definition at line 39 of file ieee754.h.

◆ IntegerExponent()

int internal::Double::IntegerExponent ( ) const
inline

Definition at line 48 of file ieee754.h.

◆ IntegerSignificand()

uint64_t internal::Double::IntegerSignificand ( ) const
inline

Definition at line 47 of file ieee754.h.

◆ IsInf()

bool internal::Double::IsInf ( ) const
inline

Definition at line 42 of file ieee754.h.

◆ IsNan()

bool internal::Double::IsNan ( ) const
inline

Definition at line 41 of file ieee754.h.

◆ IsNanOrInf()

bool internal::Double::IsNanOrInf ( ) const
inline

Definition at line 43 of file ieee754.h.

◆ IsNormal()

bool internal::Double::IsNormal ( ) const
inline

Definition at line 44 of file ieee754.h.

◆ IsZero()

bool internal::Double::IsZero ( ) const
inline

Definition at line 45 of file ieee754.h.

◆ NextPositiveDouble()

double internal::Double::NextPositiveDouble ( ) const
inline

Definition at line 32 of file ieee754.h.

◆ Sign()

bool internal::Double::Sign ( ) const
inline

Definition at line 37 of file ieee754.h.

◆ Significand()

uint64_t internal::Double::Significand ( ) const
inline

Definition at line 38 of file ieee754.h.

◆ ToBias()

uint64_t internal::Double::ToBias ( ) const
inline

Definition at line 49 of file ieee754.h.

◆ Uint64Value()

uint64_t internal::Double::Uint64Value ( ) const
inline

Definition at line 30 of file ieee754.h.

◆ Value()

double internal::Double::Value ( ) const
inline

Definition at line 29 of file ieee754.h.

Member Data Documentation

◆ d_

double internal::Double::d_

Definition at line 70 of file ieee754.h.

◆ u_

uint64_t internal::Double::u_

Definition at line 71 of file ieee754.h.


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