tony2001 Thu Feb 21 11:53:35 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard math.c Log: ws->tab fixes http://cvs.php.net/viewvc.cgi/php-src/ext/standard/math.c?r1=1.131.2.2.2.6.2.2&r2=1.131.2.2.2.6.2.3&diff_format=u Index: php-src/ext/standard/math.c diff -u php-src/ext/standard/math.c:1.131.2.2.2.6.2.2 php-src/ext/standard/math.c:1.131.2.2.2.6.2.3 --- php-src/ext/standard/math.c:1.131.2.2.2.6.2.2 Tue Feb 12 07:15:40 2008 +++ php-src/ext/standard/math.c Thu Feb 21 11:53:34 2008 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: math.c,v 1.131.2.2.2.6.2.2 2008/02/12 07:15:40 zoe Exp $ */ +/* $Id: math.c,v 1.131.2.2.2.6.2.3 2008/02/21 11:53:34 tony2001 Exp $ */ #include "php.h" #include "php_math.h" @@ -471,14 +471,13 @@ Returns e raised to the power of the number */ PHP_FUNCTION(exp) { - double num; + double num; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &num) == FAILURE) { - return; - } - - RETURN_DOUBLE(exp(num)); + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &num) == FAILURE) { + return; + } + RETURN_DOUBLE(exp(num)); } /* }}} */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php