TorchLean API

FloatLib.Floats.Formats.BinaryInterchange.StaticByte.Backend.Runtime

Default static-byte backend runtime #

A static-byte family's selected backend supplies six arithmetic operations and a shared cost estimate. Refinement theorems live in Backend.Proof; capability instances live in Backend.Construction.

@[inline]

Statically selected byte addition.

Instances For
    @[inline]

    Statically selected byte subtraction.

    Instances For
      @[inline]

      Statically selected byte multiplication.

      Instances For
        @[inline]

        Statically selected byte division.

        Instances For
          @[inline]

          Statically selected byte square root.

          Instances For
            @[inline]

            Statically selected byte fused multiply-add.

            Instances For

              Default estimate for a monomorphic direct-byte kernel supplied by a static family.

              Instances For
                @[inline]

                Run any certified binary byte table directly on a nominal static-byte format.

                The table is an explicit argument so a closed format package can expose a first-order, monomorphic kernel without projecting a function from its Family dictionary.

                Instances For
                  @[inline]

                  Run any certified unary byte table directly on a nominal static-byte format.

                  Instances For
                    @[inline]

                    Run any certified ternary byte table directly on a nominal static-byte format.

                    Instances For
                      @[inline]

                      Run a model-level ternary kernel through the direct byte carrier.

                      This is the shared table-free path for operations such as eight-bit FMA, where an exhaustive ternary table would be disproportionately large.

                      Instances For