Re: Hyperbolic trig functions

new topic     » goto parent     » topic index » view thread      » older message » newer message

Larry Miller wrote:
> 
(snip)
> 
> Here are the definitions of these functions I wrote some time ago:
> 
> }}}
<eucode>
> --Hyperbolic Arcsin
> global function arcsinh(atom x)
>     return log(x+sqrt(x*x+1.0))
> end function
> 
> --Hyperbolic Arccos
> global function arccosh(atom x)
>     return log(x+sqrt(x*x-1.0))
> end function
> 
> --Hyperbolic Arctan
> global function arctanh(atom x)
>     return log((1.0+x)/(1.0-x))/2.0
> end function
> </eucode>
{{{

> 
> Larry Miller

Would you object to the ESL project using those routines in its math.e file?
You'll get full credit for them of course.


The Euphoria Standard Library project :
    http://esl.sourceforge.net/
The Euphoria Standard Library mailing list :
    https://lists.sourceforge.net/lists/listinfo/esl-discussion

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu