Searched refs:rounding (Results 1 – 16 of 16) sorted by relevance
2 round() rejects invalid rounding modes.12 round(): Argument #3 ($mode) must be a valid rounding mode (RoundingMode::*)
2 GH-12143: Test rounding of 1.5.
2 GH-12143: Test rounding of 0.49999999999999994.
2 GH-12143: Test rounding of 0.50000000000000011.
2 GH-12143: Test rounding of 0.5.
2 round() with different rounding modes
2 round() with different rounding modes for zeros
18 /* see if we're rounding negative numbers right */
2 NumberFormatter: rounding modes
1926 switch(rounding) {1950 switch(rounding) {2038 switch (rounding) {2074 switch(rounding) {2120 switch(rounding) {2341 if (bc->rounding == 1)2550 bc.rounding = 1;2856 bc.rounding = bc.rounding == 2 ? 0 : 2;2859 bc.rounding = 0;3044 if (bc.rounding != 1)[all …]
7 dnl See: https://wiki.php.net/rfc/rounding
114 /* Here two different outputs, which depends on the rounding value
107 /* Here two different outputs, which depends on the rounding value
728 . The internal implementation for rounding to integers has been rewritten730 Some rounding bugs have been fixed as a result of the rewrite. For731 example previously rounding 0.49999999999999994 to the nearest integer741 . Fixed a bug caused by "pre-rounding" of the round() function. Previously, using742 "pre-rounding" to treat a value like 0.285 (actually 0.28499999999999998) as a743 decimal number and round it to 0.29. However, "pre-rounding" incorrectly rounds744 certain numbers, so this fix removes "pre-rounding" and changes the way numbers
992 . Fix GH-12252 (round(): Validate the rounding mode). (timwolla)999 . Add support for 4 new rounding modes to the round() function. (Jorg Sowa)
Completed in 35 milliseconds