TorchLean API

FloatLib.Floats.Formats.Posit.Configured.Trigonometric.Runtime

Configured posit trigonometric operations #

Sine, cosine, and tangent take radian arguments; their inverses return principal angles. Each call lifts the correctly rounded model result through the lawful storage codec without further numerical rounding.

@[inline]

Correctly rounded sine of a radian argument.

Instances For
    @[inline]

    Correctly rounded cosine of a radian argument.

    Instances For
      @[inline]

      Correctly rounded tangent of a radian argument.

      Instances For
        @[inline]

        Correctly rounded inverse sine; inputs outside [-1, 1] produce NaR.

        Instances For
          @[inline]

          Correctly rounded inverse cosine; inputs outside [-1, 1] produce NaR.

          Instances For
            @[inline]

            Correctly rounded inverse tangent on its principal branch.

            Instances For