Standard operations for configured binary values #
These definitions expose the descriptor-generic operation model on the ordinary
ExecFloat.Binary carrier. They add no arithmetic implementation and preserve exception status
exactly across the packing boundary.
The definitions call the descriptor-model operations through the storage codec. The companion proof module shows that packing changes neither values nor flags.
IEEE remainder, using a nearest-even integral quotient for finite operands.
Instances For
IEEE remainder together with its exception indicators.
Instances For
Round to an integer and encode it in the selected direction. A custom finite-only format can
saturate; use roundToIntegralExactWithStatus to detect that overflow.
Instances For
Round to an integer, encode it in the same direction, and report fractional loss or overflow.
Instances For
Multiply a configured value by 2^scale and round in the selected direction.
Instances For
Power-of-two scaling with the IEEE exception indicators.
Instances For
Return the leading binary exponent in the same configured format.
Instances For
Return the leading binary exponent and its IEEE exception indicators.
Instances For
Copy the numerical sign of signSource onto magnitude.
Instances For
Absolute value under the configured encoding policy.
Instances For
Next representable configured value in the positive direction.
Instances For
Next representable configured value in the negative direction.
Instances For
IEEE-2008-style minNum, retaining the numeric operand against one quiet NaN.
Instances For
IEEE-2008-style maxNum, retaining the numeric operand against one quiet NaN.