Re: Patch for ext/standard/[basic_functions.c|php_math.h|math.c]

From: Date: Wed, 01 Aug 2001 22:02:18 +0000
Subject: Re: Patch for ext/standard/[basic_functions.c|php_math.h|math.c]
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-61783@lists.php.net to get a copy of this message
--- Jeroen van Wolffelaar <jeroen@a-eskwadraat.nl> wrote: > > I am sending this patch to the php-dev list for > your > > consideration. Attached are the listing produced > with > > "cvs diff -u", and listed below is a test file to > > check the changes. > > > > Basically I just added some more math funcs from > the C > > library (hyperbolics and exponentials). > > Hyporbolic functions are indeed good to be added. > However, > I don't think it's really need to add log2, exp10, > cbrt and so > forth. It's a bit overkill, and not needed (IMO). It might be that. Just implemented the functions taking advantage of their presence in the standard set of math functions of the C library, so the C people might be more familiar that the rest I guess. I was going to add the erf, gamma, etc. function, but I am not sure if those are of general use (and because I am just starting to familiarize myself w/ the Zend/PHP macros/coding style) [... snip ...] ===== --- Jesus M. Castagnetto <jmcastagnetto@php.net> __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/

« previous php.dev (#61783) next »