TorchLean API

FloatLib.Floats.Formats.BinaryInterchange.Configured.Conversion.Runtime

Configured binary-interchange conversion runtime #

This adapter supplies the configured carrier's ofModel bridge to the representation-independent binary conversion policy. Exact rounding happens before packing, so storage and backend selection cannot change conversion semantics. The exact domain is SignedRat, which carries the sign of zero to the quantizer; the destination's encoding policy determines whether that sign is retained.

@[inline]

Pack a rounded binary model through the configured destination codec.

Instances For
    @[inline]

    Quantize one finite signed rational into the configured binary destination.

    Instances For
      @[inline]

      Apply the explicit exceptional-value policy to a configured binary destination.

      Instances For
        @[inline]

        Apply the explicit infinity policy to a configured binary destination.

        Instances For

          Complete configured outcome with the default IEEE nearest-value contract.

          Binary.Conversion.specWith supplies the independent finite-denotation clause and retains the complete word, status, and explicit policy behavior.

          Instances For
            @[instance_reducible]

            Configured binary decoding selects the signed-rational exact domain, keeping signed zero.