File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -1144,8 +1144,8 @@ ZEND_BEGIN_ARG_INFO(arginfo_fmod, 0)
1144
1144
ZEND_END_ARG_INFO ()
1145
1145
1146
1146
ZEND_BEGIN_ARG_INFO (arginfo_fdiv , 0 )
1147
- ZEND_ARG_INFO (0 , x )
1148
- ZEND_ARG_INFO (0 , y )
1147
+ ZEND_ARG_INFO (0 , dividend )
1148
+ ZEND_ARG_INFO (0 , divisor )
1149
1149
ZEND_END_ARG_INFO ()
1150
1150
1151
1151
ZEND_BEGIN_ARG_INFO (arginfo_intdiv , 0 )
Original file line number Diff line number Diff line change @@ -1296,21 +1296,22 @@ PHP_FUNCTION(fmod)
1296
1296
}
1297
1297
/* }}} */
1298
1298
1299
- /* {{{ proto float fdiv(float x, float y)
1300
- Perform floating-point division of x / y with IEEE-754 semantics for division by zero. */
1299
+ /* {{{ proto float fdiv(float dividend, float divisor)
1300
+ Perform floating-point division of dividend / divisor
1301
+ with IEEE-754 semantics for division by zero. */
1301
1302
#ifdef __clang__
1302
1303
__attribute__((no_sanitize ("float-divide-by-zero" )))
1303
1304
#endif
1304
1305
PHP_FUNCTION (fdiv )
1305
1306
{
1306
- double num1 , num2 ;
1307
+ double dividend , divisor ;
1307
1308
1308
1309
ZEND_PARSE_PARAMETERS_START (2 , 2 )
1309
- Z_PARAM_DOUBLE (num1 )
1310
- Z_PARAM_DOUBLE (num2 )
1310
+ Z_PARAM_DOUBLE (dividend )
1311
+ Z_PARAM_DOUBLE (divisor )
1311
1312
ZEND_PARSE_PARAMETERS_END ();
1312
1313
1313
- RETURN_DOUBLE (num1 / num2 );
1314
+ RETURN_DOUBLE (dividend / divisor );
1314
1315
}
1315
1316
/* }}} */
1316
1317
You can’t perform that action at this time.
0 commit comments