summaryrefslogtreecommitdiff
path: root/ext/standard/math.c
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2002-03-02 17:08:09 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2002-03-02 17:08:09 +0000
commit547b25fd132f2482719b997a9068f5a0d28932f0 (patch)
tree0533eb562582de11bb50cdda020bfb9caa7b3e62 /ext/standard/math.c
parent0558bc5b1c62e192aa914bf3fae0430d5b6bc6a1 (diff)
downloadphp-git-547b25fd132f2482719b997a9068f5a0d28932f0.tar.gz
php has no 'double', only 'float'
Diffstat (limited to 'ext/standard/math.c')
-rw-r--r--ext/standard/math.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/standard/math.c b/ext/standard/math.c
index 81dbf79189..7218fc74fc 100644
--- a/ext/standard/math.c
+++ b/ext/standard/math.c
@@ -377,8 +377,8 @@ PHP_FUNCTION(pi)
/* }}} */
-/* {{{ proto bool is_finite(double val)
- Returns whether double is finite */
+/* {{{ proto bool is_finite(float val)
+ Returns whether argument is finite */
PHP_FUNCTION(is_finite)
{
double dval;
@@ -391,8 +391,8 @@ PHP_FUNCTION(is_finite)
}
/* }}} */
-/* {{{ proto bool is_infinite(double val)
- Returns whether double is infinite */
+/* {{{ proto bool is_infinite(float val)
+ Returns whether argument is infinite */
PHP_FUNCTION(is_infinite)
{
double dval;
@@ -404,8 +404,8 @@ PHP_FUNCTION(is_infinite)
}
/* }}} */
-/* {{{ proto bool is_nan(double val)
- Returns whether double is not a number */
+/* {{{ proto bool is_nan(float val)
+ Returns whether argument is not a number */
PHP_FUNCTION(is_nan)
{
double dval;
@@ -1046,8 +1046,8 @@ PHP_FUNCTION(number_format)
}
/* }}} */
-/* {{{ proto double fmod(double x, double y)
- Returns the remainder of dividing x by y as a double */
+/* {{{ proto float fmod(float x, float y)
+ Returns the remainder of dividing x by y as a float */
PHP_FUNCTION(fmod)
{
double num1, num2;