Home | History | Annotate | Download | only in regress

Lines Matching full:radix

29 // the given radix is not a SMI.
39 // Giving these values as the radix argument triggers radix detection.
43 // These values will result in an integer radix outside of the valid range.
53 var radix = radix_detect[i];
54 assertEquals(NaN, parseInt("", radix));
55 assertEquals(23, parseInt("23", radix));
56 assertEquals(0xaf, parseInt("0xaf", radix));
57 assertEquals(NaN, parseInt("af", radix));
61 var radix = radix_invalid[i];
62 assertEquals(NaN, parseInt("", radix));
63 assertEquals(NaN, parseInt("23", radix));
64 assertEquals(NaN, parseInt("0xaf", radix));
65 assertEquals(NaN, parseInt("af", radix));
69 var radix = radix10[i];
70 assertEquals(NaN, parseInt("", radix));
71 assertEquals(23, parseInt("23", radix));
72 assertEquals(0, parseInt("0xaf", radix));
73 assertEquals(NaN, parseInt("af", radix));
77 var radix = radix16[i];
78 assertEquals(NaN, parseInt("", radix));
79 assertEquals(0x23, parseInt("23", radix));
80 assertEquals(0xaf, parseInt("0xaf", radix));
81 assertEquals(0xaf, parseInt("af", radix));