| Elements
    6.2
    A C++ base framework for the Euclid Software. | 
#include <Real.h>

| Classes | |
| union | FloatingPointUnion | 
| Public Types | |
| using | Bits = typename TypeWithSize< sizeof(RawType)>::UInt | 
| Public Member Functions | |
| FloatingPoint (const RawType &x) | |
| const Bits & | bits () const | 
| Bits | exponentBits () const | 
| Bits | fractionBits () const | 
| Bits | signBit () const | 
| bool | isNan () const | 
| bool | AlmostEquals (const FloatingPoint &rhs) const | 
| Static Public Member Functions | |
| static RawType | ReinterpretBits (const Bits &bits) | 
| static RawType | Infinity () | 
| static Bits | signAndMagnitudeToBiased (const Bits &sam) | 
| static Bits | distanceBetweenSignAndMagnitudeNumbers (const Bits &sam1, const Bits &sam2) | 
| Static Public Attributes | |
| static const std::size_t | s_bitcount = 8 * sizeof(RawType) | 
| static const std::size_t | s_fraction_bitcount = std::numeric_limits<RawType>::digits - 1 | 
| static const std::size_t | s_exponent_bitcount = s_bitcount - 1 - s_fraction_bitcount | 
| static const Bits | s_sign_bitmask = static_cast<Bits>(1) << (s_bitcount - 1) | 
| static const Bits | s_fraction_bitmask = ~static_cast<Bits>(0) >> (s_exponent_bitcount + 1) | 
| static const Bits | s_exponent_bitmask = ~(s_sign_bitmask | s_fraction_bitmask) | 
| static const std::size_t | m_max_ulps = defaultMaxUlps<RawType>() | 
| Private Attributes | |
| FloatingPointUnion | m_u | 
| using Elements::FloatingPoint< RawType >::Bits = typename TypeWithSize<sizeof(RawType)>::UInt | 
| 
 | inlineexplicit | 
| 
 | inline | 
Definition at line 273 of file Real.h.
References Elements::FloatingPoint< RawType >::isNan(), Elements::isNan(), Elements::FloatingPoint< RawType >::FloatingPointUnion::m_bits, and Elements::FloatingPoint< RawType >::m_u.

| 
 | inline | 
| 
 | inlinestatic | 
Definition at line 309 of file Real.h.
Referenced by Elements::isEqual().
| 
 | inline | 
| 
 | inline | 
| 
 | inlinestatic | 
| 
 | inline | 
Definition at line 261 of file Real.h.
Referenced by Elements::FloatingPoint< RawType >::AlmostEquals().
| 
 | inlinestatic | 
Definition at line 227 of file Real.h.
References Elements::FloatingPoint< RawType >::FloatingPointUnion::m_bits, Elements::FloatingPoint< RawType >::m_u, and Elements::FloatingPoint< RawType >::FloatingPointUnion::m_value.
| 
 | inlinestatic | 
| 
 | inline | 
| 
 | static | 
| 
 | private | 
Definition at line 322 of file Real.h.
Referenced by Elements::FloatingPoint< RawType >::AlmostEquals(), and Elements::FloatingPoint< RawType >::ReinterpretBits().
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
| 
 | static | 
 1.8.17
 1.8.17