[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: mod
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 27 Oct 2000 17:24:00 -0200
> > modf, sinh, cosh and tanh are not because we haven't need them, but they are
> > easy to add. perhaps with should add those too.
>
> I don't see why not; it's just confusing to leave them out.
Just out of curiosity, does anyone need any of those hyperbolic functions?
They are easily implemented as (exp(x) - exp(-x)) / 2,
(exp(x) + exp(-x)) / 2, and sinh(x) / cosh(x). Shouldn't we need their
inverses, too (asinh, acosh, atanh)?
-- Roberto