summaryrefslogtreecommitdiff
path: root/ext/standard/math.c
diff options
context:
space:
mode:
authorjim winstead <jimw@php.net>2002-01-09 23:59:05 +0000
committerjim winstead <jimw@php.net>2002-01-09 23:59:05 +0000
commit831473d76ef3f052701f96d5c5739c97d0f2462d (patch)
treeb3e1d3f0d7545abd83aec4f9ed318d982150ca5e /ext/standard/math.c
parente68095972ea476731a485410b72d39088b69f643 (diff)
downloadphp-git-831473d76ef3f052701f96d5c5739c97d0f2462d.tar.gz
Rename finite/isinf/isnan to more standard is_*() names.
Diffstat (limited to 'ext/standard/math.c')
-rw-r--r--ext/standard/math.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/standard/math.c b/ext/standard/math.c
index e7d6308056..80653a1a55 100644
--- a/ext/standard/math.c
+++ b/ext/standard/math.c
@@ -383,9 +383,9 @@ PHP_FUNCTION(pi)
/* }}} */
-/* {{{ proto bool finite(double val)
+/* {{{ proto bool is_finite(double val)
Returns whether double is finite */
-PHP_FUNCTION(finite)
+PHP_FUNCTION(is_finite)
{
double dval;
@@ -397,9 +397,9 @@ PHP_FUNCTION(finite)
}
/* }}} */
-/* {{{ proto bool isinf(double val)
+/* {{{ proto bool is_infinite(double val)
Returns whether double is infinite */
-PHP_FUNCTION(isinf)
+PHP_FUNCTION(is_infinite)
{
double dval;
@@ -410,9 +410,9 @@ PHP_FUNCTION(isinf)
}
/* }}} */
-/* {{{ proto bool isnan(double val)
+/* {{{ proto bool is_nan(double val)
Returns whether double is not a number */
-PHP_FUNCTION(isnan)
+PHP_FUNCTION(is_nan)
{
double dval;