Skip to content

Commit bcf01cf

Browse files
committed
fix pre round comment
1 parent c1e97cf commit bcf01cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/math.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ PHPAPI double _php_math_round(double value, int places, int mode) {
184184

185185
/* If the decimal precision guaranteed by FP arithmetic is higher than
186186
the requested places BUT is small enough to make sure a non-zero value
187-
is returned, pre-round the result to the precision */
187+
is returned, adjust result digits to the precision */
188188
if (precision_places > places && precision_places - 15 < places) {
189189
int64_t use_precision = precision_places < INT_MIN+1 ? INT_MIN+1 : precision_places;
190190

0 commit comments

Comments
 (0)