Re: cvs: php4(PHP_4_2_0) /ext/standard math.c
| From: | Andi Gutmans | Date: | Sat, 06 Apr 2002 11:16:35 +0000 |
| Subject: | Re: cvs: php4(PHP_4_2_0) /ext/standard math.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-10920@lists.php.net to get a copy of this message | ||
Isn't it always in math.h?
Andi
At 09:21 01/04/2002 +0000, Derick Rethans wrote:
derick Mon Apr 1 04:21:29 2002 EDTModified files: (Branch: PHP_4_2_0) /php4/ext/standard math.cLog: - MFH for fix for bug #14966 Index: php4/ext/standard/math.c diff -u php4/ext/standard/math.c:1.80 php4/ext/standard/math.c:1.80.2.1--- php4/ext/standard/math.c:1.80 Sat Mar 2 12:08:09 2002 +++ php4/ext/standard/math.c Mon Apr 1 04:21:29 2002@@ -19,7 +19,7 @@+----------------------------------------------------------------------+*/ -/* $Id: math.c,v 1.80 2002/03/02 17:08:09 hholzgra Exp $ */ +/* $Id: math.c,v 1.80.2.1 2002/04/01 09:21:29 derick Exp $ */ #include "php.h" #include "php_math.h" @@ -138,7 +138,7 @@return_val = (Z_TYPE_PP(value) == IS_LONG) ?(double)Z_LVAL_PP(value) : Z_DVAL_PP(value);- f = pow(10.0, places); + f = pow(10.0, (double) places);return_val *= f; if (return_val >= 0.0)-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php