develooper Front page | perl.perl6.language | Postings from September 2001

Re: Math functions? (Particularly transcendental ones)

Thread Previous | Thread Next
From:
Jeremy Howard
Date:
September 9, 2001 02:46
Subject:
Re: Math functions? (Particularly transcendental ones)
Message ID:
004301c138e8$8e647180$0d00a8c0@samantha
Uri Guttman wrote:
> >>>>> "BS" == Benjamin Stuhl <tiriath@yahoo.com> writes:
>
>   >> Can anyone think of things I've forgotten? It's been a while since
>   >> I've done numeric work.
>
>   BS> ln, asinh, acosh, atanh2?
>
> dan mentioned log (base anything) but i don't recall ln. and definitely
> the arc hyberbolics are in after i pointed them out. dunno about atanh2.
>
We only really need ln(). Then [log(y) base x] is simply [ln(y)/ln(x)].
There's no need to have separate functions for different bases.



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About