-
Notifications
You must be signed in to change notification settings - Fork 5
2015 008 Additional math functions
Author: Andreas Rossberg
Last revised: August 22, 2015
Status: proposed
Discussion: issue #9
signature MATHThis proposal adds the inverse hyperbolic functions to the MATH signature.
val asinh : real -> real
val acosh : real -> real
val atanh : real -> real-
asinh x
returns the arc hyperbolic sine ofx, expressed in radians. It is the inverse of thesinhfunction. -
acosh x
returns the nonnegative arc hyperbolic cosine ofx, expressed in radians. It is the inverse of thecoshfunction. Ifx < 1.0, then theDomainexception is raised. -
atanh x
returns the arc hyperbolic tangent ofx, expressed in radians. It is the inverse of thetanhfunction. TheDomainexception is raised ifx <= ~1.0or1.0 <= x.
These functions are fairly standard in contemporary languages' math libraries.
The addition of these functions should not affect existing programs.
-
[2015-08-22] Added more detailed description of functions and made some formatting changes for consistency. [JHR].
-
[2015-08-16] Proposed
