TorchLean API

FloatLib.Floats.Formats.BinaryInterchange.Configured.Plan.Automatic

Automatic portfolios for built-in configured carriers #

These dependent matches inspect the already selected StoragePlan and add direct candidates when their proofs apply: byte tables for the byte carrier and the wide-limb kernels for the limb carrier. Word and wide carriers reuse the representation-independent structural portfolios.

Byte-table eligibility depends only on encoded width. Every table is certified against the same configured specification used by the structural portfolio.

Certified addition table for any configured descriptor that fits in one byte.

Instances For

    Certified subtraction table for any configured descriptor that fits in one byte.

    Instances For

      Certified multiplication table for any configured descriptor that fits in one byte.

      Instances For

        Certified division table for any configured descriptor that fits in one byte.

        Instances For

          Certified square-root table for any configured descriptor that fits in one byte.

          Instances For

            Certified fused-multiply-add table for any configured descriptor that fits in one byte.

            Instances For

              Complete portfolios for automatically selected built-in carriers #

              Addition candidates for the carrier selected by Configured.Code.

              Matching Code plan before inspecting plan is important for parameterized public types. Typeclass discrimination does not unfold an arbitrary forKnownWidth expression far enough to discover an instance whose head mentions .byte directly. This dependent match makes the byte table available after the built-in carrier instance has already been selected.

              Instances For

                Subtraction candidates for the automatically selected built-in carrier.

                Instances For

                  Multiplication candidates for the automatically selected built-in carrier.

                  Instances For

                    Division candidates for the automatically selected built-in carrier.

                    Instances For

                      Square-root candidates for the automatically selected built-in carrier.

                      Instances For

                        Fused-multiply-add candidates for the automatically selected built-in carrier.

                        Instances For