Floating-point arithmetic#
In computing, floating-point arithmetic (FP) is arithmetic that represents real numbers approximately, using an integer with a fixed precision, called the significand, scaled by an integer exponent of a fixed base.
Read more on Wikipedia.
Community#
Tools#
- Herbie: Find and fix floating-point problems ⭐
Libraries#
float-cmp
: Floating point approximate comparison for Rust
Resources#
Video#
- [2022] How floating point works ⭐