//@ skip if $architecture == "arm" and $hostOS == "darwin" | |
description("This test checks the behavior of the Math.ceil and Math.floor on denormalized FP values."); | |
shouldBe("Math.ceil(Number.MIN_VALUE)", "1"); | |
shouldBe("Math.ceil(-Number.MIN_VALUE)", "-0"); | |
shouldBe("Math.floor(Number.MIN_VALUE)", "0"); | |
shouldBe("Math.floor(-Number.MIN_VALUE)", "-1"); |