Wheefun I/O Library  0.0.5
Useful I/O Primitives.
Public Attributes | List of all members
wfio_ieee754_b64_t Union Reference

A double-precision IEEE 754 binary floating point value (binary64). More...

#include <ieee754.h>

Public Attributes

struct {
   wfio_uint64_t   significand:52
 
   wfio_uint64_t   exponent:11
 
   wfio_uint64_t   sign:1
 
bits
 The bit pattern for this number.
 
wfio_sint64_t si
 The raw signed 64-bit integer representation of this number.
 
wfio_uint64_t ui
 The raw unsigned 64-bit integer representation of this number.
 

Detailed Description

A double-precision IEEE 754 binary floating point value (binary64).

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^1024. In total, there are 53 bits of precision in the significand.

Member Data Documentation

◆ exponent

wfio_uint64_t wfio_ieee754_b64_t::exponent

This number's exponent

◆ sign

wfio_uint64_t wfio_ieee754_b64_t::sign

This number's sign bit.

◆ significand

wfio_uint64_t wfio_ieee754_b64_t::significand

This number's significand.


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