summaryrefslogtreecommitdiff
path: root/ext/standard/php_math.h
diff options
context:
space:
mode:
authorjim winstead <jimw@php.net>2002-01-05 03:45:11 +0000
committerjim winstead <jimw@php.net>2002-01-05 03:45:11 +0000
commit461e1050698f3a6043f4b3330ca59b7cb122605f (patch)
treee888dacf7c1448b42c0c43c3efbe4d6f732a3a20 /ext/standard/php_math.h
parent4b8f435b2a9d3f981a4c65852bca49faf04ede6f (diff)
downloadphp-git-461e1050698f3a6043f4b3330ca59b7cb122605f.tar.gz
Fixed pow(), and added finite(), isinf(), and isnan(). Also fixed
pow() tests. @- Fixed pow(), and added finite(), isinf(), and isnan(). (Jim) # Jeroen was on crack, and apparently flunked arithmetic. Names of new # functions subject to change if people get persnickety about them. # (They're currently the same as the underlying C library function # names. Hope nobody forgets to update the tests if they change the # names.) # Oh, and pow() uses the new parameter-passing API now.
Diffstat (limited to 'ext/standard/php_math.h')
-rw-r--r--ext/standard/php_math.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/standard/php_math.h b/ext/standard/php_math.h
index fe5c873542..71d9b6d88e 100644
--- a/ext/standard/php_math.h
+++ b/ext/standard/php_math.h
@@ -35,6 +35,9 @@ PHP_FUNCTION(pi);
PHP_FUNCTION(exp);
PHP_FUNCTION(log);
PHP_FUNCTION(log10);
+PHP_FUNCTION(finite);
+PHP_FUNCTION(isinf);
+PHP_FUNCTION(isnan);
PHP_FUNCTION(pow);
PHP_FUNCTION(sqrt);
PHP_FUNCTION(srand);