Home | History | Annotate | Download | only in mjsunit

Lines Matching defs:zero

30 var zero = 0;
40 assertEquals(-Infinity, one / (-zero), "one / -0 I");
42 assertEquals(-Infinity, one / (zero * minus_one), "one / -1");
43 assertEquals(-Infinity, one / (minus_one * zero), "one / -0 II");
44 assertEquals(Infinity, one / (zero * zero), "one / 0 I");
47 assertEquals(-Infinity, one / (zero / minus_one), "one / -0 III");
48 assertEquals(Infinity, one / (zero / one), "one / 0 II");
58 assertEquals(-Infinity, one / (-1 * zero), "bar2");
59 assertEquals(Infinity, one / (0 * zero), "bar3");
72 assertEquals(-Infinity, one / (zero * -1), "fizz1");
74 assertEquals(Infinity, one / (zero * 0), "fizz3");
77 assertEquals(-Infinity, one / (zero / -1), "buzz1");
78 assertEquals(Infinity, one / (zero / 1), "buzz2");