On Mon, 27 Jan 2003 13:19:44 -1000 (HST), [EMAIL PROTECTED]
(Joshua Hoblitt) wrote:

> However the POSIX module is rather large and I think it's a rather
> in-obvious place to look for a math function.

I don't know; it's where I'd expect to see things which are in the
"standard C library" (whatever that means) but aren't directly available
as Perl functions.

> So I'm proposing a simple module that allows access to the standard
> C math lib's: log, log10, exp, and pow functions.

All but log10 are already directly available from Perl (though 'pow' is
spelled '**'), so I'm not sure what you win except for saving one
division -- if you use log10 a lot, you can cache the value of log(10).

All this is IMO; I don't speak for the namespace people.

Cheers,
Philip

Reply via email to