Skip to content

Commit 512dd7e

Browse files
committed
fix pre round comment
1 parent 1fa1933 commit 512dd7e

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
@@ -138,7 +138,7 @@ PHPAPI double _php_math_round(double value, int places, int mode) {
138138

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

0 commit comments

Comments
 (0)