Intervals with configured binary endpoints #
ExecFloat.Binary.Interval stores endpoints in the same carrier as configured scalar values.
All operations delegate to Model.Interval; packing and decoding change representation, not
rounding or exceptional-value behavior. The format, storage plan, and codec are unrestricted.
Arithmetic uses outward rounding and the model's whole-range fallback for unordered bounds.
Valid requires finite endpoints; ValidExtended also permits infinities. The real-enclosure
theorems and lossless-conversion proofs are in Configured.Interval.Proof.
A closed interval stored in the configured endpoint carrier.
Instances For
Decode both endpoints without changing their complete encodings.
Instances For
Pack both model endpoints into the configured carrier.
Instances For
Numerical membership; a NaN value or endpoint is unordered.
Instances For
Membership of a configured scalar in configured bounds.
Both endpoints are finite and ordered.
Instances For
Both endpoints are non-NaN and ordered; infinities are permitted.
Instances For
Degenerate interval, preserving even a signed zero or NaN encoding.
Instances For
Complete numerical range: infinities where supported, maximal finite endpoints otherwise.
Instances For
Executable numerical comparison; unordered comparisons return false.
Instances For
Keep ordered bounds, falling back to whole for NaNs or reversed endpoints.
Instances For
Test whether the numerical endpoint range contains zero.
Instances For
Endpoint hull, inheriting the model's IEEE NaN propagation.
Instances For
Outward-rounded sum, with the model's conservative fallback for indeterminate bounds.
Instances For
Outward-rounded difference.
Instances For
Outward-rounded four-corner product enclosure.
Instances For
Outward-rounded quotient; a denominator containing zero returns the whole range.
Instances For
Negate and exchange the endpoints.
Instances For
Reciprocal enclosure; an interval containing zero returns the whole range.
Instances For
Endpoint-grid image enclosure for max x 0.
Instances For
Absolute-value enclosure, handling intervals crossing zero.
Instances For
Directed square-root endpoints; real soundness additionally needs nonnegative input bounds.