TorchLean API

FloatLib.Floats.Formats.BinaryInterchange.Model.ExactValue

Exact values represented by binary models #

Model.ExactValue records the complete interpretation of an executable bit pattern without introducing another floating-point carrier. Finite values retain their exact dyadic decoding, so positive and negative zero remain distinct when the format represents both. Infinities retain their sign, and NaNs retain their sign, signaling class, and fraction payload.

Complete exact interpretation of a Model bit pattern.

Instances For
    @[inline]

    Decode an executable bit pattern to its complete exact value.

    This function is computational. It refines the real-valued numerical interpretation by retaining the distinctions that necessarily forgets.

    Instances For
      @[simp]

      A successful dyadic decoding determines the exact finite value.

      @[simp]

      Exact finiteness is equivalent to successful decoding with the indexed dyadic.