double_conversion::Single Class Reference

#include <ieee.h>

List of all members.

Public Member Functions

 Single ()
 Single (float f)
 Single (uint32_t d32)
DiyFp AsDiyFp () const
uint32_t AsUint32 () const
int Exponent () const
uint32_t Significand () const
bool IsDenormal () const
bool IsSpecial () const
bool IsNan () const
bool IsInfinite () const
int Sign () const
void NormalizedBoundaries (DiyFp *out_m_minus, DiyFp *out_m_plus) const
DiyFp UpperBoundary () const
bool LowerBoundaryIsCloser () const
float value () const

Static Public Member Functions

static float Infinity ()
static float NaN ()

Static Public Attributes

static const uint32_t kSignMask = 0x80000000
static const uint32_t kExponentMask = 0x7F800000
static const uint32_t kSignificandMask = 0x007FFFFF
static const uint32_t kHiddenBit = 0x00800000
static const int kPhysicalSignificandSize = 23
static const int kSignificandSize = 24


Detailed Description

Definition at line 261 of file ieee.h.


Constructor & Destructor Documentation

double_conversion::Single::Single (  )  [inline]

Definition at line 270 of file ieee.h.

Referenced by Infinity(), and NaN().

Here is the caller graph for this function:

double_conversion::Single::Single ( float  f  )  [inline, explicit]

Definition at line 271 of file ieee.h.

double_conversion::Single::Single ( uint32_t  d32  )  [inline, explicit]

Definition at line 272 of file ieee.h.


Member Function Documentation

DiyFp double_conversion::Single::AsDiyFp (  )  const [inline]

Definition at line 276 of file ieee.h.

References ASSERT, Exponent(), IsSpecial(), Sign(), and Significand().

Referenced by NormalizedBoundaries().

Here is the call graph for this function:

Here is the caller graph for this function:

uint32_t double_conversion::Single::AsUint32 (  )  const [inline]

Definition at line 283 of file ieee.h.

Referenced by Exponent(), IsDenormal(), IsInfinite(), IsNan(), IsSpecial(), LowerBoundaryIsCloser(), Sign(), and Significand().

Here is the caller graph for this function:

int double_conversion::Single::Exponent (  )  const [inline]

Definition at line 287 of file ieee.h.

References AsUint32(), IsDenormal(), kExponentMask, and kPhysicalSignificandSize.

Referenced by AsDiyFp(), LowerBoundaryIsCloser(), and UpperBoundary().

Here is the call graph for this function:

Here is the caller graph for this function:

static float double_conversion::Single::Infinity (  )  [inline, static]

Definition at line 378 of file ieee.h.

References Single().

Here is the call graph for this function:

bool double_conversion::Single::IsDenormal (  )  const [inline]

Definition at line 307 of file ieee.h.

References AsUint32(), and kExponentMask.

Referenced by Exponent(), and Significand().

Here is the call graph for this function:

Here is the caller graph for this function:

bool double_conversion::Single::IsInfinite (  )  const [inline]

Definition at line 325 of file ieee.h.

References AsUint32(), kExponentMask, and kSignificandMask.

Here is the call graph for this function:

bool double_conversion::Single::IsNan (  )  const [inline]

Definition at line 319 of file ieee.h.

References AsUint32(), kExponentMask, and kSignificandMask.

Here is the call graph for this function:

bool double_conversion::Single::IsSpecial (  )  const [inline]

Definition at line 314 of file ieee.h.

References AsUint32(), and kExponentMask.

Referenced by AsDiyFp().

Here is the call graph for this function:

Here is the caller graph for this function:

bool double_conversion::Single::LowerBoundaryIsCloser (  )  const [inline]

Definition at line 363 of file ieee.h.

References AsUint32(), Exponent(), and kSignificandMask.

Referenced by NormalizedBoundaries().

Here is the call graph for this function:

Here is the caller graph for this function:

static float double_conversion::Single::NaN (  )  [inline, static]

Definition at line 382 of file ieee.h.

References Single().

Here is the call graph for this function:

void double_conversion::Single::NormalizedBoundaries ( DiyFp out_m_minus,
DiyFp out_m_plus 
) const [inline]

int double_conversion::Single::Sign (  )  const [inline]

Definition at line 331 of file ieee.h.

References AsUint32(), and kSignMask.

Referenced by AsDiyFp(), and UpperBoundary().

Here is the call graph for this function:

Here is the caller graph for this function:

uint32_t double_conversion::Single::Significand (  )  const [inline]

Definition at line 296 of file ieee.h.

References AsUint32(), IsDenormal(), and kSignificandMask.

Referenced by AsDiyFp(), and UpperBoundary().

Here is the call graph for this function:

Here is the caller graph for this function:

DiyFp double_conversion::Single::UpperBoundary (  )  const [inline]

Definition at line 358 of file ieee.h.

References ASSERT, Exponent(), Sign(), and Significand().

Here is the call graph for this function:

float double_conversion::Single::value (  )  const [inline]

Definition at line 376 of file ieee.h.

Referenced by NormalizedBoundaries().

Here is the caller graph for this function:


Member Data Documentation

const uint32_t double_conversion::Single::kExponentMask = 0x7F800000 [static]

Definition at line 264 of file ieee.h.

Referenced by Exponent(), IsDenormal(), IsInfinite(), IsNan(), and IsSpecial().

const uint32_t double_conversion::Single::kHiddenBit = 0x00800000 [static]

Definition at line 266 of file ieee.h.

Definition at line 267 of file ieee.h.

Referenced by Exponent().

const uint32_t double_conversion::Single::kSignificandMask = 0x007FFFFF [static]

Definition at line 265 of file ieee.h.

Referenced by IsInfinite(), IsNan(), LowerBoundaryIsCloser(), and Significand().

Definition at line 268 of file ieee.h.

const uint32_t double_conversion::Single::kSignMask = 0x80000000 [static]

Definition at line 263 of file ieee.h.

Referenced by Sign().


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

Generated on Thu Jul 6 00:32:39 2017 for Moses by  doxygen 1.5.9