GF128: a quad

You will learn

The 128-bit GoldenFloat, 1 + 49 + 78, and the four invariants that hold its layout.

GF128 has 128 bits: 1 sign, 49 exponent, 78 mantissa. IEEE quad spends 15 bits on the exponent. The spec holds the layout with four invariants: the fields partition the word, the mantissa and the exponent follow the closed form, and the shifts follow the layout.

Open the interactive lesson →