Home | History | Annotate | Download | only in webkit

Lines Matching refs:round

207 shouldBe("Math.round(NaN)", "NaN");
208 shouldBe("Math.round(0)", "0");
209 shouldBe("Math.round(-0)", "-0");
210 shouldBe("Math.round(0.4)", "0");
211 shouldBe("Math.round(-0.4)", "-0");
212 shouldBe("Math.round(0.5)", "1");
213 shouldBe("Math.round(-0.5)", "-0");
214 shouldBe("Math.round(0.6)", "1");
215 shouldBe("Math.round(-0.6)", "-1");
216 shouldBe("Math.round(1)", "1");
217 shouldBe("Math.round(-1)", "-1");
218 shouldBe("Math.round(1.1)", "1");
219 shouldBe("Math.round(-1.1)", "-1");
220 shouldBe("Math.round(1.5)", "2");
221 shouldBe("Math.round(-1.5)", "-1");
222 shouldBe("Math.round(1.6)", "2");
223 shouldBe("Math.round(-1.6)", "-2");
224 shouldBe("Math.round(8640000000000000)", "8640000000000000");
226 shouldBe("Math.round(8640000000000000.5)", "8640000000000000");
227 shouldBe("Math.round(8640000000000001)", "8640000000000001");
228 shouldBe("Math.round(8640000000000002)", "8640000000000002");
229 shouldBe("Math.round(9007199254740990)", "9007199254740990");
230 shouldBe("Math.round(9007199254740991)", "9007199254740991");
231 shouldBe("Math.round(1.7976931348623157e+308)", "1.7976931348623157e+308");
232 shouldBe("Math.round(-8640000000000000)", "-8640000000000000");
233 shouldBe("Math.round(-8640000000000001)", "-8640000000000001");
234 shouldBe("Math.round(-8640000000000002)", "-8640000000000002");
235 shouldBe("Math.round(-9007199254740990)", "-9007199254740990");
236 shouldBe("Math.round(-9007199254740991)", "-9007199254740991");
237 shouldBe("Math.round(-1.7976931348623157e+308)", "-1.7976931348623157e+308");
238 shouldBe("Math.round(Infinity)", "Infinity");
239 shouldBe("Math.round(-Infinity)", "-Infinity");