Berin Loritsch <[EMAIL PROTECTED]> writes:

> Here is a definition I found after googling:
> 
> http://mathworld.wolfram.com/HyperbolicTangent.html
>
> I *think* that translates to:
>
>
>     public double tanh( double z )
>     {
>         return (Math.exp(2 * z) - 1) / (Math.exp(2 * z) + 1);
>     }

Whizzzzz.....  The sound of e-mails passing in flight.....

That looks like it should do the trick.  





Reply via email to