-
Notifications
You must be signed in to change notification settings - Fork 4
2015 008 Additional math functions
John Reppy edited this page Aug 22, 2015
·
5 revisions
Author: Andreas Rossberg
Last revised: August 16, 2015
Status: proposed
Discussion: issue #9
signature MATH =
sig
...
val asinh : real -> real
val acosh : real -> real
val atanh : real -> real
end
structure Math : MATH
-
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
is less than0
, 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
is less than~1.0
or greater than1.0
.
These are fairly standard in contemporary language's math libraries.
The addition of these functions should not affect existing programs.
- [2015-08-16] Proposed