diff options
author | Antony Dovgal <tony2001@php.net> | 2008-02-21 11:53:51 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2008-02-21 11:53:51 +0000 |
commit | 00315b1d4276434d7ef2a2db83358ba72cd98cbd (patch) | |
tree | eb9d055ec9490dbd7b13949fccffda0eaf1c9e3a | |
parent | 7c40e93b69e64a057963ecbfa2c701e84e4be359 (diff) | |
download | php-git-00315b1d4276434d7ef2a2db83358ba72cd98cbd.tar.gz |
MF53
-rw-r--r-- | ext/standard/math.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/ext/standard/math.c b/ext/standard/math.c index ddd3541f97..3e3b45c100 100644 --- a/ext/standard/math.c +++ b/ext/standard/math.c @@ -471,14 +471,13 @@ PHP_FUNCTION(pow) 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)); } /* }}} */ |