diff options
| author | jim winstead <jimw@php.net> | 2002-01-05 03:45:11 +0000 |
|---|---|---|
| committer | jim winstead <jimw@php.net> | 2002-01-05 03:45:11 +0000 |
| commit | 461e1050698f3a6043f4b3330ca59b7cb122605f (patch) | |
| tree | e888dacf7c1448b42c0c43c3efbe4d6f732a3a20 /ext/standard/basic_functions.c | |
| parent | 4b8f435b2a9d3f981a4c65852bca49faf04ede6f (diff) | |
| download | php-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/basic_functions.c')
| -rw-r--r-- | ext/standard/basic_functions.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index f5cec794ca..2b5eeb4398 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -462,6 +462,9 @@ function_entry basic_functions[] = { #endif PHP_FE(pi, NULL) + PHP_FE(finite, NULL) + PHP_FE(isnan, NULL) + PHP_FE(isinf, NULL) PHP_FE(pow, NULL) PHP_FE(exp, NULL) PHP_FE(log, NULL) |
