cvs: php4 /ext/standard math.c

From: Date: Sat, 02 Mar 2002 17:08:13 +0000
Subject: cvs: php4 /ext/standard math.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-9599@lists.php.net to get a copy of this message
hholzgra Sat Mar 2 12:08:13 2002 EDT Modified files: /php4/ext/standard math.c Log: php has no 'double', only 'float' Index: php4/ext/standard/math.c diff -u php4/ext/standard/math.c:1.79 php4/ext/standard/math.c:1.80 --- php4/ext/standard/math.c:1.79 Thu Feb 28 03:26:46 2002 +++ php4/ext/standard/math.c Sat Mar 2 12:08:09 2002 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: math.c,v 1.79 2002/02/28 08:26:46 sebastian Exp $ */ +/* $Id: math.c,v 1.80 2002/03/02 17:08:09 hholzgra Exp $ */ #include "php.h" #include "php_math.h" @@ -377,8 +377,8 @@ /* }}} */ -/* {{{ 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 @@ } /* }}} */ -/* {{{ 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 @@ } /* }}} */ -/* {{{ 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 @@ } /* }}} */ -/* {{{ 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;

« previous php.cvs (#9599) next »