Configured posit algebraic functions #
These functions use the exact rational algebraic kernels through the selected carrier's model codec. Storage selection does not introduce additional rounding. NaR and invalid real domains have the same behavior as the model operations.
Reciprocal square root, rounded once; nonpositive inputs and NaR produce NaR.
Instances For
Euclidean hypotenuse, rounded once after an exact sum of squares; NaR propagates.
Instances For
Fused triple multiplication, with one final rounding and NaR propagation.
Instances For
Integer root, rounded once, taking the signed real root for odd degrees. Degree zero, even roots of negative inputs, negative-degree roots of zero, and NaR inputs produce NaR.
Instances For
Fixed integer power, rounded once; NaR and zero to negative powers produce NaR.
Instances For
Compound (1 + x) ^ n, rounding only the final result. NaR propagates, and x = -1 with
negative exponent produces NaR. Exponent zero gives one on every finite input.