Real semantics of exact integer powers #
The power is evaluated in the rationals before any format rounding. Casting commutes with integer exponentiation, including negative exponents, so the established rational-rounding theorem proves a single rounding of the exact real power. IEEE overflow has no real denotation and is excluded by the finite-result premise.
A successful rational decode is the exact real value of the stored operand.
The exact rational boundary rounds once to the independent nearest-even real grid.
The zero exponent returns one unless the base is a signaling NaN.
A finite nonzero base uses exactly one rational rounding for every nonzero exponent.
Integer powers of finite nonzero inputs round the exact real power once, for positive, negative and zero integer exponents. The output may be subnormal or zero; only overflow is excluded.