TorchLean API

FloatLib.Floats.Formats.Posit.Configured.Interval

Outward rounding for configured posit endpoints #

This adapter uses the same candidate search as model-level posit intervals, packing each endpoint through the existing storage codec. It applies to every configured width and storage plan, so callers can use ExecFloat.Posit directly with the common interval operations. The exact decoded check rejects NaR and overflow just as it does for model endpoints.

@[reducible, inline]

An interval over the configured posit carrier, independent of its storage representation.

Instances For

    Outward rounding through the posit storage codec, with explicit finite-range failure.

    Instances For

      Changing the storage codec preserves success, failure, and both model endpoints.