The floating point
The default floating point type is always 64 bits wide and is called Float64. This is true irrespective of the underlying machine and OS bit width. It is represented in the computer's memory using the Institute of Electrical and Electronics Engineers (IEEE) 754 binary standard. Once again, this storage format is the same as the numbers in C; these are low-level machine types.
The IEEE 754 standard is the universally accepted technical standard for floating point operations in computer hardware and software. Almost all commonly used CPU types implement their floating point support in their hardware using this standard. As a result, storing numbers in this format means that the CPU (or rather the FPU—the floating point unit ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access