Lines Matching refs:mode
18 foreach ($modes as $modeKey => $mode) {
19 echo "mode: $modeKey\n";
22 echo "\t\t 0 => " . round(0, $precision, $mode) . "\n";
23 echo "\t\t -0 => " . round(-0, $precision, $mode) . "\n";
24 echo "\t\t 0.0 => " . round(0.0, $precision, $mode) . "\n";
25 echo "\t\t -0.0 => " . round(-0.0, $precision, $mode) . "\n";
32 mode: PHP_ROUND_HALF_UP
57 mode: PHP_ROUND_HALF_DOWN
82 mode: PHP_ROUND_HALF_EVEN
107 mode: PHP_ROUND_HALF_ODD
132 mode: PositiveInfinity
157 mode: NegativeInfinity
182 mode: TowardsZero
207 mode: AwayFromZero