tony2001                Thu Feb 21 11:53:51 2008 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/standard       math.c 
  Log:
  MF53
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/math.c?r1=1.131.2.2.2.8&r2=1.131.2.2.2.9&diff_format=u
Index: php-src/ext/standard/math.c
diff -u php-src/ext/standard/math.c:1.131.2.2.2.8 
php-src/ext/standard/math.c:1.131.2.2.2.9
--- php-src/ext/standard/math.c:1.131.2.2.2.8   Tue Feb 12 07:27:49 2008
+++ php-src/ext/standard/math.c Thu Feb 21 11:53:51 2008
@@ -19,7 +19,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: math.c,v 1.131.2.2.2.8 2008/02/12 07:27:49 zoe Exp $ */
+/* $Id: math.c,v 1.131.2.2.2.9 2008/02/21 11:53:51 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

Reply via email to