Skip to content

Commit b822996

Browse files
committed
Improved name of variables in fpow definition
1 parent 495de3c commit b822996

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ext/standard/math.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1392,14 +1392,14 @@ PHP_FUNCTION(fdiv)
13921392
/* {{{ Perform floating-point exponentiation with IEEE-754 semantics. */
13931393
PHP_FUNCTION(fpow)
13941394
{
1395-
double dividend, divisor;
1395+
double base, exponent;
13961396

13971397
ZEND_PARSE_PARAMETERS_START(2, 2)
1398-
Z_PARAM_DOUBLE(dividend)
1399-
Z_PARAM_DOUBLE(divisor)
1398+
Z_PARAM_DOUBLE(base)
1399+
Z_PARAM_DOUBLE(exponent)
14001400
ZEND_PARSE_PARAMETERS_END();
14011401

1402-
RETURN_DOUBLE(pow(dividend, divisor));
1402+
RETURN_DOUBLE(pow(base, exponent));
14031403
}
14041404
/* }}} */
14051405

0 commit comments

Comments
 (0)