Correct rounding of integer posit roots #
Raising nonnegative values to a positive integer power preserves order, so exact power comparisons agree with comparison against the real root. The shared comparator-rounding theorem then supplies correct rounding. The root-characterization theorem applies to any nonnegative real root. Its real-power corollary supplies a root for every nonnegative rational radicand and positive degree.
A nonnegative finite integer root rounds the exact real power q ^ (1 / degree).
The degree is nonzero; a zero radicand additionally requires positive degree. Negative degrees are covered by inverting the exact rational radicand, before any rounding.
For a negative finite input and odd integer degree, the signed real root is rounded once.
Its magnitude is (-q) ^ (1 / degree). This statement specifies the real branch explicitly,
including negative odd degrees, without relying on real powers of a negative base.