kommaaritmetikk
Kommaaritmetikk, also known as floating-point arithmetic, is a system used in computing to represent and perform calculations with real numbers. Unlike fixed-point arithmetic, where the decimal point's position is fixed, commaaritmetikk allows the decimal point to "float," enabling the representation of a wider range of numbers, including very large and very small ones.
The representation typically involves three components: a sign bit, an exponent, and a significand (also called
Despite its flexibility, commaaritmetikk is not exact. Due to the finite precision of computer representation, many