Re: Hyperbolic trig functions
- Posted by D. Newhall <derek_newhall at yahoo.com> Jan 18, 2006
- 482 views
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