TorchLean API

FloatLib.Floats.Formats.OCP.MX.Standard.Configured.Runtime

Configured standard OCP MX destinations #

ExecFloat.OCP.MX.Standard profile is a constrained 32-lane destination on the common carrier. It is separate from the arbitrary-length raw block family. Conversion selects the recommended max-binade scale, and the element SAT/OVF policy is the conversion context.

The generic exact domain is a vector of signed rationals. A stored block containing non-finite lanes has no value in that domain and is summarized as NaN. The lane-wise decode accessor keeps every individual NaN, infinity, and finite neighbor.

Identity of a standard MX block with one of the six concrete element profiles.

Instances For
    @[reducible, inline]

    One E8M0 scale and exactly 32 elements of a concrete OCP MX 1.0 profile.

    Instances For
      @[inline]

      Wrap a complete valid standard block without numerical conversion.

      Instances For
        @[inline]

        Recover the complete scale and fixed-length element storage.

        Instances For
          @[inline]

          Exact lane-wise observation, retaining element-local non-finite values.

          Instances For
            @[inline]

            Quantize finite exact inputs, saturating by default. (overflow := .native) selects the FP8 OVF element mode.

            Instances For

              Whether a normalized lane lies outside its signed finite endpoint. Block conversions test range flags against the exact endpoint and do not follow the binary scalar convention of testing after rounding.

              Instances For

                Conversion flags. overflow covers an unrepresentable shared scale or a normalized lane outside its exact finite range, and saturated records such a lane stored at its finite endpoint. underflow records a nonzero input lane becoming zero. inexact compares complete signed finite observations, including zero signs.

                Instances For

                  Convert one exact block observation, recording exceptional sources with a NaN scale.

                  Instances For

                    Destination specification uses the numerical lane-rounding relation at the selected scale.

                    Instances For
                      @[instance_reducible]

                      Finite block conversion exposes exact signed rationals through the shared source capability.