Fixed-point computation (source code)

= Fixed-point computation
{wiki=Fixed-point_computation}

Fixed-point computation is a method of representing real numbers in a way that uses a fixed number of digits for the integer part and a fixed number of digits for the fractional part. This contrasts with floating-point representation, where the number of significant digits can vary to accommodate a wider range of values. In fixed-point representation, the position of the decimal point is fixed or predetermined.