Execution planning for exact fixed-point arithmetic #
The direct integer-coefficient operations are both the executable implementations and their reference specifications.
Same-scale addition and subtraction need no rounding. This plan registers their direct
implementations with ExecFloat; rational exactness is proved separately in Configured.Proof.
Conversions and scale-composing multiplication use their own APIs.
Cost description of direct unbounded-integer coefficient arithmetic.
Instances For
def
FloatLib.Floats.ExecFloat.FixedPoint.Plan.addCertified
{radix : Numerics.Radix}
{fractionalDigits : ℕ}
:
Certified exact same-scale addition.
Instances For
def
FloatLib.Floats.ExecFloat.FixedPoint.Plan.subCertified
{radix : Numerics.Radix}
{fractionalDigits : ℕ}
:
Certified exact same-scale subtraction.