Wheefun I/O Library
0.0.5
Useful I/O Primitives.
|
A single-precision IEEE 754 binary floating point value (binary32). More...
#include <ieee754.h>
Public Attributes | |
struct { | |
wfio_uint32_t significand:23 | |
wfio_uint32_t exponent:8 | |
wfio_uint32_t sign:1 | |
} | bits |
The bit pattern for this number. | |
wfio_sint32_t | si |
The raw signed 32-bit integer representation of this number. | |
wfio_uint32_t | ui |
The raw unsigned 32-bit integer representation of this number. | |
A single-precision IEEE 754 binary floating point value (binary32).
This type arises from IEEE 754-1985 and represents a single-precision floating point number. This can fit within exactly 32 bits and may be used in situations where the range does not exceed ± ~2^127. In total, there are 24 bits of precision in the significand.
wfio_uint32_t wfio_ieee754_b32_t::exponent |
This number's exponent
wfio_uint32_t wfio_ieee754_b32_t::sign |
This number's sign bit.
wfio_uint32_t wfio_ieee754_b32_t::significand |
This number's significand.