TorchLean API

FloatLib.Floats.Formats.Posit.Hyperbolic.Runtime

Correctly rounded posit hyperbolic functions #

The operations compare their exact real result with rational posit rounding boundaries. There is no intermediate posit rounding. NaR propagates, and inputs outside an inverse function's real domain produce NaR.

Reference #

Round hyperbolic tangent of an exact rational argument.

Instances For

    Round inverse hyperbolic tangent, rejecting both endpoints and the exterior domain.

    Instances For

      Round hyperbolic sine of an exact rational argument.

      Instances For

        Round hyperbolic cosine of an exact rational argument.

        Instances For

          Round inverse hyperbolic sine of an exact rational argument.

          Instances For

            Round inverse hyperbolic cosine on its real domain [1, ∞).

            Instances For
              def FloatLib.Floats.Formats.Posit.Model.Hyperbolic.applyRat {format : Format} (operation : Model format) (value : Model format) :
              Model format

              Apply a rational hyperbolic operation to a finite posit, propagating NaR.

              Instances For
                def FloatLib.Floats.Formats.Posit.Model.tanH {format : Format} (value : Model format) :
                Model format

                Correctly rounded hyperbolic tangent; NaR propagates.

                Instances For
                  def FloatLib.Floats.Formats.Posit.Model.arcTanH {format : Format} (value : Model format) :
                  Model format

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

                  Instances For
                    def FloatLib.Floats.Formats.Posit.Model.sinH {format : Format} (value : Model format) :
                    Model format

                    Correctly rounded hyperbolic sine; NaR propagates.

                    Instances For
                      def FloatLib.Floats.Formats.Posit.Model.cosH {format : Format} (value : Model format) :
                      Model format

                      Correctly rounded hyperbolic cosine; NaR propagates.

                      Instances For
                        def FloatLib.Floats.Formats.Posit.Model.arcSinH {format : Format} (value : Model format) :
                        Model format

                        Correctly rounded inverse hyperbolic sine; NaR propagates.

                        Instances For
                          def FloatLib.Floats.Formats.Posit.Model.arcCosH {format : Format} (value : Model format) :
                          Model format

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

                          Instances For