TorchLean API

FloatLib.Floats.Formats.BinaryInterchange.Info.Profile

Inspection profiles for binary-interchange formats #

Representation, exceptional values, rounding rules, and theorem groups used by #float_info. Info.Command resolves the carrier and supplies its storage and execution details. Complex and interval profiles also use inspectSummary to read their component descriptor.

Each theorem group states its scope. IEEE-specific theorems are marked unavailable when the descriptor does not meet their encoding and bias requirements.

Closed descriptor data extracted by the #float_info elaborator.

  • expWidth :

    Number of stored exponent bits.

  • fracWidth :

    Number of stored fraction bits.

  • exponentBias :

    Bias subtracted from a stored normal exponent.

  • Exceptional-value encoding policy.

  • bitWidth :

    Total encoded width, including the sign bit.

  • minNormalExponent :

    Smallest unbiased exponent of a normal value.

  • maxNormalExponent :

    Largest unbiased exponent of a finite normal value.

  • isIEEE : Bool

    Whether the descriptor uses the conventional IEEE bias and exceptional-value encoding.

Instances For

    Read the descriptor fields used by scalar, complex, and interval reports.

    Instances For

      Human-readable name of a binary exceptional-value policy.

      Instances For

        Identify named IEEE layouts; arbitrary widths retain the more general IEEE-style label.

        Instances For

          Precise NaN population and metadata retained by an encoding policy.

          Instances For

            Whether the encoding has a signaling NaN. IEEE signaling NaNs require a nonzero fraction with a clear quiet bit, so at least one fraction bit must lie below the quiet bit.

            Instances For

              Descriptor-level applicability of theorem families specialized to conventional IEEE layouts.

              Instances For

                Applicability of a cross-format IEEE theorem when the inspected descriptor may occupy either side.

                Instances For

                  Applicability of the all-words-finite range-limited enclosure theorems.

                  Instances For

                    Build the complete user-facing inspection profile for a binary descriptor.

                    Instances For