Re: [PHP-DEV] RFC: New math functions: log2, etc

2001-08-07 Thread Jesus M. Castagnetto
Aparently PAN (the newsreader I used) does not make the right stuff for the MARC archive to add the poster name. -- Jesus M. Castagnetto ([EMAIL PROTECTED]) In article [EMAIL PROTECTED], Jesus M. Castagnetto [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], Sterling Hughes [EMAIL

Re: [PHP-DEV] RFC: New math functions: log2, etc

2001-08-06 Thread Jesus M. Castagnetto
In article [EMAIL PROTECTED], Sterling Hughes [EMAIL PROTECTED] wrote: [snip] However, IMO the log, exp, sinus, etc. functions should be in the core. Yes, I agree, however, expm1 and log1p don't. I agree. Do you suggest here to hold these two, until some kind of advanced-math-extension

Re: [PHP-DEV] RFC: New math functions: log2, etc

2001-08-04 Thread Jeroen van Wolffelaar
At 01:53 AM 8/4/2001 +0200, Jeroen van Wolffelaar wrote: log(a) / log(n) is not that much harder, and its the right way, imho. Yes, you're right that it is the right way. But for example, for tan(x), the right way is sin(x)/cos(x). (Not such a good example, but anyway) As you said :-)

Re: [PHP-DEV] RFC: New math functions: log2, etc

2001-08-04 Thread Sterling Hughes
At 06:10 PM 8/4/2001 +0200, Jeroen van Wolffelaar wrote: At 01:53 AM 8/4/2001 +0200, Jeroen van Wolffelaar wrote: log(a) / log(n) is not that much harder, and its the right way, imho. Yes, you're right that it is the right way. But for example, for tan(x), the right way is

Re: [PHP-DEV] RFC: New math functions: log2, etc

2001-08-03 Thread Jeroen van Wolffelaar
log(a) / log(n) is not that much harder, and its the right way, imho. Yes, you're right that it is the right way. But for example, for tan(x), the right way is sin(x)/cos(x). (Not such a good example, but anyway) log($bla,2) is cleaner, IMO, than log($bla)/log(2), not mentioning the possible

Re: [PHP-DEV] RFC: New math functions: log2, etc

2001-08-03 Thread Sterling Hughes
At 01:41 AM 8/4/2001 +0200, [EMAIL PROTECTED] wrote: Hi, I've got the following suggestion, about some of the new math-functions recently added: log2 and log10: remove from PHP exp2 and exp10: remove from PHP (the pow-way is also simply better, in the case of exp2/10, that is) Add second

Re: [PHP-DEV] RFC: New math functions: log2, etc

2001-08-03 Thread Sterling Hughes
At 01:53 AM 8/4/2001 +0200, Jeroen van Wolffelaar wrote: log(a) / log(n) is not that much harder, and its the right way, imho. Yes, you're right that it is the right way. But for example, for tan(x), the right way is sin(x)/cos(x). (Not such a good example, but anyway) As you said :-) as an

Re: [PHP-DEV] RFC: New math functions: log2, etc

2001-08-03 Thread Jeroen van Wolffelaar
There is a possibility that GSL will be implemented in PHP, but that's in GSL: GNU Scientific Library, http://sources.redhat.com/gsl/ Jeroen -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To