-
Notifications
You must be signed in to change notification settings - Fork 4
2015 008 Additional math functions
Author: Andreas Rossberg
Last revised: August 22, 2015
Status: proposed
Discussion: issue #9
signature MATH
This 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 thesinh
function. -
acosh x
returns the nonnegative arc hyperbolic cosine ofx
, expressed in radians. It is the inverse of thecosh
function. Ifx < 1.0
, then theDomain
exception is raised. -
atanh x
returns the arc hyperbolic tangent ofx
, expressed in radians. It is the inverse of thetanh
function. TheDomain
exception is raised ifx <= ~1.0
or1.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