Computer Arithmetic
Which three parts make up an IEEE 754 floating-point number?
- ASign, exponent and significand
- BInteger part, fractional part and carry
- CHigh byte, low byte and parity
Show answer and explanation
Answer: A. Sign, exponent and significand
A floating-point number represents a value as (−1)^sign × 1.significand × 2^exponent and stores three parts: a sign bit for positive or negative, an exponent field for the power of two, and a significand for the significant digits. Because the exponent moves the binary point, the same number of bits covers values from tiny to huge. Splitting into integer and fractional parts is the fixed-point idea, and parity is for error detection.
- A. Correct. It consists of sign, exponent and significand.
- B. Splitting into integer and fraction parts is the fixed-point idea.
- C. Parity is for error detection and is not a component.