diff options
-rw-r--r-- | ext/standard/tests/math/ceil_basic.phpt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/standard/tests/math/ceil_basic.phpt b/ext/standard/tests/math/ceil_basic.phpt index 4264b1cf5e..1f3748c3c8 100644 --- a/ext/standard/tests/math/ceil_basic.phpt +++ b/ext/standard/tests/math/ceil_basic.phpt @@ -2,6 +2,10 @@ Test ceil() - basic function test for ceil() --INI-- precision=14 +--SKIPIF-- +if (strtolower(PHP_OS) == 'darwin') { + die('SKIP OSX does weird things with -0 so this test doesn't work there'); +} --FILE-- <?php /* Prototype : float ceil ( float $value ) @@ -45,7 +49,7 @@ for ($i = 0; $i < count($values); $i++) { float(0) float(0) float(1) -float(-0) +float(0) float(1) float(-1) float(2) @@ -63,4 +67,4 @@ float(95) float(1) float(0) float(0) -===Done===
\ No newline at end of file +===Done=== |