Home
last modified time | relevance | path

Searched refs:rounding (Results 1 – 14 of 14) sorted by relevance

/php-src/ext/standard/tests/math/
H A Dround_valid_rounding_mode.phpt2 round() rejects invalid rounding modes.
12 round(): Argument #3 ($mode) must be a valid rounding mode (RoundingMode::*)
H A Dround_gh12143_1.phpt2 GH-12143: Test rounding of 0.49999999999999994.
H A Dround_gh12143_2.phpt2 GH-12143: Test rounding of 0.50000000000000011.
H A Dround_gh12143_3.phpt2 GH-12143: Test rounding of 0.5.
H A Dround_gh12143_4.phpt2 GH-12143: Test rounding of 1.5.
H A Dround_modes.phpt2 round() with different rounding modes
H A Dround_modes_zeros.phpt2 round() with different rounding modes for zeros
/php-src/Zend/tests/
H A Ddval_to_lval_32.phpt18 /* see if we're rounding negative numbers right */
/php-src/ext/intl/tests/formatter/
H A Drounding_modes.phpt2 NumberFormatter: rounding modes
/php-src/Zend/
H A Dzend_strtod.c1922 switch(rounding) {
1946 switch(rounding) {
2034 switch (rounding) {
2070 switch(rounding) {
2116 switch(rounding) {
2337 if (bc->rounding == 1)
2546 bc.rounding = 1;
2852 bc.rounding = bc.rounding == 2 ? 0 : 2;
2855 bc.rounding = 0;
3040 if (bc.rounding != 1)
[all …]
H A DZend.m47 dnl See: https://wiki.php.net/rfc/rounding
/php-src/ext/standard/tests/strings/
H A Dstrlen.phpt114 /* Here two different outputs, which depends on the rounding value
H A Dstrcasecmp.phpt107 /* Here two different outputs, which depends on the rounding value
H A Dstrcmp.phpt107 /* Here two different outputs, which depends on the rounding value

Completed in 28 milliseconds