Lines Matching refs:Decimal
7 T.assertEqualDecimal(expected, Decimal.sum.apply(Decimal, arguments));
10 expected = new Decimal(0);
13 t('0', new Decimal(0));
15 t(0, new Decimal('-10'), 0, 0, 0, 0, 0, 10);
17 t(1, '2', new Decimal(3), new Decimal('4'), -10);
18 t(new Decimal(-10), '9', new Decimal(0.01), 0.99);
20 expected = new Decimal(10);
23 t('0', new Decimal('10'));
27 t(1, '2', new Decimal(3), new Decimal('4'));
28 t('9', new Decimal(0.01), 0.99);
30 expected = new Decimal(600);
34 t(new Decimal(100), new Decimal(200), new Decimal(300));
35 t(100, '200', new Decimal(300));
38 expected = new Decimal(NaN);
43 t(NaN, 0, '9', new Decimal(0), 11, Infinity);
44 t(0, new Decimal('-Infinity'), '9', new Decimal(NaN), 11);
45 t(4, '-Infinity', 0, '9', new Decimal(0), Infinity, 2);
47 expected = new Decimal(Infinity);
52 t(0, new Decimal('Infinity'), '9', new Decimal(0), 11);
53 t(0, '9', new Decimal(0), 11, Infinity);
54 t(4, new Decimal(Infinity), 0, '9', new Decimal(0), Infinity, 2);
56 expected = new Decimal(-Infinity);
61 t(0, new Decimal('-Infinity'), '9', new Decimal(0), 11);
62 t(0, '9', new Decimal(0), 11, -Infinity);
63 t(4, new Decimal(-Infinity), 0, '9', new Decimal(0), -Infinity, 2);