TorchLean API

FloatLib.Floats.Formats.Posit.Configured.Hyperbolic.Runtime

Configured posit hyperbolic functions #

A lawful model codec changes storage without adding numerical rounding. The operations inherit the model's NaR propagation and real-domain checks.

@[inline]

Correctly rounded hyperbolic tangent; NaR propagates.

Instances For
    @[inline]

    Correctly rounded inverse hyperbolic tangent, with real domain -1 < x < 1.

    Instances For
      @[inline]

      Correctly rounded hyperbolic sine; NaR propagates.

      Instances For
        @[inline]

        Correctly rounded hyperbolic cosine; NaR propagates.

        Instances For
          @[inline]

          Correctly rounded inverse hyperbolic sine; NaR propagates.

          Instances For
            @[inline]

            Correctly rounded inverse hyperbolic cosine; inputs below 1 produce NaR.

            Instances For