IEEE 754 Single-Precision Value
(-1)^s \times (1.\text{fraction})_2 \times 2^{E - 127}
1 sign bit, 8 biased exponent bits (bias 127), 23 mantissa fraction bits.
Binary/hex and twos complement conversions, IEEE 754 floating-point encoding, bitwise ALU masks, set-associative CPU cache address slicing, and Amdahls speedup law.
(-1)^s \times (1.\text{fraction})_2 \times 2^{E - 127}
1 sign bit, 8 biased exponent bits (bias 127), 23 mantissa fraction bits.
\text{Offset} = \log_2(B), \quad \text{Index} = \log_2\left(\frac{C}{B \cdot W}\right), \quad \text{Tag} = A - \text{Index} - \text{Offset}
A: address bits, C: cache bytes, B: block size, W: ways of associativity.
S_{\text{overall}} = \frac{1}{(1 - p) + \frac{p}{s}}
p: parallelizable fraction, s: speedup of the enhanced portion.
[-2^{N-1}, \; 2^{N-1} - 1]
Negate any value by inverting all bits and adding 1.
Using a positive bias (127 for float32, 1023 for float64) lets hardware compare two positive floating-point magnitudes using ordinary unsigned integer comparison.
Keeping total cache size fixed while doubling associativity halves the number of sets, removing 1 bit from the Index field and adding 1 bit to the Tag field.
Even with infinite parallel processors (s -> infinity), speedup is strictly bounded by 1 / (1 - p), dictated by the remaining serial fraction.