Real rounding and exceptional policies for binary roots #
Reciprocal square root rounds the square root of the exact reciprocal radicand. Integer roots round the nonnegative root of the exact magnitude, inverting that magnitude before rounding for negative degrees. Negative odd roots restore the sign after choosing the real branch. The theorems include subnormal outputs and exact midpoint ties. Only IEEE overflow is excluded.
Zero policies are stated separately because the real numbers have neither signed zero nor
infinity. In particular rsqrt(-0) has the negative overflow sign.
Reciprocal square root preserves the sign of a zero pole, including negative zero.
Degree zero is invalid for every other input, including infinities and signed zeros.
Odd roots retain the sign of zero, while even roots select a positive zero or positive pole.
Reciprocal square root of a finite positive operand is one nearest-even rounding of 1 / sqrt x.
The reciprocal radicand is exact, so an intermediate rounded square root cannot affect the result.
A finite nonzero integer root rounds the chosen real branch once.
Even degrees require a clear sign bit, while odd degrees allow either sign. Negative degrees are reciprocal roots. The absolute value and the sign select the negative odd real branch, so the statement does not rely on the convention for real exponentiation of negative bases.