1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 10:16:41 +02:00
This commit is contained in:
Antony Dovgal
2008-02-21 11:53:51 +00:00
parent 7c40e93b69
commit 00315b1d42
+5 -6
View File
@@ -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));
}
/* }}} */