[lug] Slightly off: log function in Perl

Keith Herold herold at cslr.Colorado.EDU
Fri Mar 30 23:46:32 MST 2001


So, sorry about the post, but I am working on an assignment and I need
to calculate the log base 10 of some frequency counts.  The problem is
that the log function in Perl is a natural log, not an arbitrary base.
Any ideas of where I can find something like this (CPAN doesn't seem to
have any).

I would also like to avoid either a) switching languages, b) making a
call to C's math library.

--Keith




More information about the LUG mailing list