@@ -1250,7 +1250,7 @@ PHP_FUNCTION(min)
12501250 min = & args [i ];
12511251 }
12521252 } else if (Z_TYPE (args [i ]) == IS_DOUBLE && (zend_dval_to_lval ((double ) min_lval ) == min_lval )) {
1253- /* if min_lval can be exactly represented as a float , go to float dedicated code */
1253+ /* if min_lval can be exactly represented as a double , go to double dedicated code */
12541254 min_dval = (double ) min_lval ;
12551255 goto double_compare ;
12561256 } else {
@@ -1270,7 +1270,7 @@ PHP_FUNCTION(min)
12701270 min = & args [i ];
12711271 }
12721272 } else if (Z_TYPE (args [i ]) == IS_LONG && (zend_dval_to_lval ((double ) Z_LVAL (args [i ])) == Z_LVAL (args [i ]))) {
1273- /* if the value can be exactly represented as a float , use float dedicated code otherwise generic */
1273+ /* if the value can be exactly represented as a double , use double dedicated code otherwise generic */
12741274 if (min_dval > (double )Z_LVAL (args [i ])) {
12751275 min_dval = (double )Z_LVAL (args [i ]);
12761276 min = & args [i ];
@@ -1339,7 +1339,7 @@ PHP_FUNCTION(max)
13391339 max = & args [i ];
13401340 }
13411341 } else if (Z_TYPE (args [i ]) == IS_DOUBLE && (zend_dval_to_lval ((double ) max_lval ) == max_lval )) {
1342- /* if max_level can be exactly represented as a float , go to float dedicated code */
1342+ /* if max_lval can be exactly represented as a double , go to double dedicated code */
13431343 max_dval = (double ) max_lval ;
13441344 goto double_compare ;
13451345 } else {
@@ -1359,7 +1359,7 @@ PHP_FUNCTION(max)
13591359 max = & args [i ];
13601360 }
13611361 } else if (Z_TYPE (args [i ]) == IS_LONG && (zend_dval_to_lval ((double ) Z_LVAL (args [i ])) == Z_LVAL (args [i ]))) {
1362- /* if the value can be exactly represented as a float , use float dedicated code otherwise generic */
1362+ /* if the value can be exactly represented as a double , use double dedicated code otherwise generic */
13631363 if (max_dval < (double )Z_LVAL (args [i ])) {
13641364 max_dval = (double )Z_LVAL (args [i ]);
13651365 max = & args [i ];
0 commit comments