Once-rounded integer powers and compound #
Integer exponentiation takes place in the exact rational field. Compound also forms 1 + x
exactly, so neither that addition nor the intermediate powers are rounded to the posit format.
The integer exponent is fixed: exponent zero gives the constant one on every finite input,
including a zero base. Zero to a negative power produces NaR. This differs from the two-posit
pow operation, whose two-variable limit at (0, 0) is not unique.
Reference #
Round an exact rational integer power once. Zero to a negative power produces NaR; this
explicit domain check prevents the total field convention 0⁻¹ = 0 from defining the result.
For the fixed exponent zero, the underlying function is the constant one.
Instances For
Compound (1 + x) ^ n, rounded once. NaR propagates; x = -1 with negative exponent produces
NaR. Exponent zero gives one even at x = -1, since the integer parameter is fixed in §5.8.
Both the addition and exponentiation are exact before the final posit rounding.