cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hunsberger, Peter" <Peter.Hunsber...@stjude.org>
Subject RE: [RT] Adaptive Caching
Date Wed, 16 Jul 2003 20:41:20 GMT
Berin Loritsch <bloritsch@apache.org> 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.  






Mime
View raw message