union
FloatIEEE754Union to compartmentalize an IEEE-754 float. IEEE 754 single precision floating point layout:
31 30 23 22 0 +--------+---------------+---------------+ | s 1bit | e[30:23] 8bit | f[22:0] 23bit | +--------+---------------+---------------+ B0------------------->B1------->B2-->B3-->
Public static variables
- static const int BIAS constexpr
- Exponent bias.
- static const float EPSILON constexpr
- 2^-24, round-off error at 1.0
- static const float FMAX constexpr
- 0x7f7fffff, 2^128 * (1 - epsilon)
- static const float FMIN constexpr
- 0x00800000 Minimum Normal
- static const float SMAX constexpr
- 0x007fffff Maximum Subnormal
- static const float SMIN constexpr
- 0x00000001 Minimum Subnormal