Floating Point Arithmetic Presentation
Floating Point Arithmetic Presentation
Computer Science
Your Name
Date
Introduction
Floating point numbers represent real numbers that have decimal points, allowing for a
wider range of values than integers.
They are important for calculations involving very large or very small numbers, such as in
scientific computations and graphics.
Floating Point: Uses scientific notation, where values are represented with a mantissa
(significant digits) and an exponent (scale factor).
Components:
Format:
- Single precision (32 bits): 1 sign bit, 8 bits exponent, 23 bits mantissa.
- Double precision (64 bits): 1 sign bit, 11 bits exponent, 52 bits mantissa.
Normalization
Floating point numbers are often normalized, meaning the leading digit is non-zero.
Precision: The number of digits in the mantissa defines how precise a number is. More bits
in the mantissa means more precision.
Rounding After Calculation: The result is usually rounded back to fit the precision of the
floating point format.
Real-World Applications
Scientific Computations: Handling extremely large or small measurements.