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

Re: Math functions? (Particularly transcendental ones)

Thread Previous | Thread Next
From:
Uri Guttman
Date:
September 9, 2001 17:17
Subject:
Re: Math functions? (Particularly transcendental ones)
Message ID:
200109100017.UAA04548@home.sysarch.com.
>>>>> "BL" == Bart Lateur <bart.lateur@skynet.be> writes:

  BL> On Sat, 08 Sep 2001 13:02:04 -0400, Dan Sugalski wrote:
  >>> Uri mentioned exp(x) = e^x, but I think if you are going to include
  >>> log2, log10, log, etc, you should also include ln.
  >> 
  >> Added.

  BL> Er... aren't ln and log synonyms?

we are using log as in log( base, num ) where you can specify the log
base. ln is just log( e, num ). same for log2 and log10. those are just
the most common bases for logs. no reason not to support all of them in
parrot as they are trivial wrappers (and they save an argument per
call). they can also be in the math module where again they will be
simple wrappers.

uri

-- 
Uri Guttman  ---------  uri@sysarch.com  ----------  http://www.sysarch.com
SYStems ARCHitecture and Stem Development ------ http://www.stemsystems.com
Search or Offer Perl Jobs  --------------------------  http://jobs.perl.org

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