ujukomaarvud
Ujukomaarvud, also known as floating-point numbers, are a numerical format used in computing to represent real numbers. They are characterized by a mantissa (or significand) and an exponent, allowing for a wide range of values to be stored, from very small fractions to very large numbers. This representation is an approximation, meaning that not all real numbers can be perfectly represented, leading to potential rounding errors in calculations.
The IEEE 754 standard defines the common formats for floating-point numbers, including single-precision (32-bit) and double-precision
Operations involving floating-point numbers can sometimes produce unexpected results due to their inherent inexactness. For instance,