#include <ieee.h>
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 |
Definition at line 261 of file ieee.h.
| double_conversion::Single::Single | ( | ) | [inline] |
Definition at line 270 of file ieee.h.
Referenced by Infinity(), and NaN().

| double_conversion::Single::Single | ( | float | f | ) | [inline, explicit] |
| double_conversion::Single::Single | ( | uint32_t | d32 | ) | [inline, explicit] |
| 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().


| 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().

| 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().


| static float double_conversion::Single::Infinity | ( | ) | [inline, static] |
| bool double_conversion::Single::IsDenormal | ( | ) | const [inline] |
Definition at line 307 of file ieee.h.
References AsUint32(), and kExponentMask.
Referenced by Exponent(), and Significand().


| bool double_conversion::Single::IsInfinite | ( | ) | const [inline] |
Definition at line 325 of file ieee.h.
References AsUint32(), kExponentMask, and kSignificandMask.

| bool double_conversion::Single::IsNan | ( | ) | const [inline] |
Definition at line 319 of file ieee.h.
References AsUint32(), kExponentMask, and kSignificandMask.

| bool double_conversion::Single::IsSpecial | ( | ) | const [inline] |
Definition at line 314 of file ieee.h.
References AsUint32(), and kExponentMask.
Referenced by AsDiyFp().


| bool double_conversion::Single::LowerBoundaryIsCloser | ( | ) | const [inline] |
Definition at line 363 of file ieee.h.
References AsUint32(), Exponent(), and kSignificandMask.
Referenced by NormalizedBoundaries().


| static float double_conversion::Single::NaN | ( | ) | [inline, static] |
| void double_conversion::Single::NormalizedBoundaries | ( | DiyFp * | out_m_minus, | |
| DiyFp * | out_m_plus | |||
| ) | const [inline] |
Definition at line 340 of file ieee.h.
References AsDiyFp(), ASSERT, double_conversion::DiyFp::e(), double_conversion::DiyFp::f(), LowerBoundaryIsCloser(), double_conversion::DiyFp::Normalize(), double_conversion::DiyFp::set_e(), double_conversion::DiyFp::set_f(), and value().

| int double_conversion::Single::Sign | ( | ) | const [inline] |
Definition at line 331 of file ieee.h.
References AsUint32(), and kSignMask.
Referenced by AsDiyFp(), and UpperBoundary().


| 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().


| DiyFp double_conversion::Single::UpperBoundary | ( | ) | const [inline] |
Definition at line 358 of file ieee.h.
References ASSERT, Exponent(), Sign(), and Significand().

| float double_conversion::Single::value | ( | ) | const [inline] |
Definition at line 376 of file ieee.h.
Referenced by NormalizedBoundaries().

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] |
const int double_conversion::Single::kPhysicalSignificandSize = 23 [static] |
const uint32_t double_conversion::Single::kSignificandMask = 0x007FFFFF [static] |
Definition at line 265 of file ieee.h.
Referenced by IsInfinite(), IsNan(), LowerBoundaryIsCloser(), and Significand().
const int double_conversion::Single::kSignificandSize = 24 [static] |
const uint32_t double_conversion::Single::kSignMask = 0x80000000 [static] |
1.5.9