Skip to main content

IEEE 754 Floating-Point Types in C++

· 8 min read

If you want to use IEEE 754 32-bit or 64-bit floating-point types in C++, you might think of using float and double. Unfortunately, the C++ standard offers very few guarantees about its built-in floating-point types.