Lines Matching defs:create
248 private static BigDecimal create(double v) {
959 test("%#.0e", "3.e+00", create(3.0));
960 test("%#.0e", "-3.e+00", create(-3.0));
961 test("%.0e", "3e+00", create(3.0));
962 test("%.0e", "-3e+00", create(-3.0));
1012 test("%#.0f", "3.", create(3.0));
1013 test("%#.0f", "-3.", create(-3.0));
1014 test("%.0f", "3", create(3.0));
1015 test("%.0f", "-3", create(-3.0));
1165 test("%.3g", "1.00e-05", recip(create(100000.0)));
1166 test("%.3g", "-1.00e-05", recip(create(-100000.0)));
1167 test("%.0g", "-1e-05", recip(create(-100000.0)));
1168 test("%.0g", "1e+05", create(100000.0));
1169 test("%.3G", "1.00E-05", recip(create(100000.0)));
1170 test("%.3G", "-1.00E-05", recip(create(-100000.0)));
1265 test("%.0g", "3", create(3.0));
1266 test("%.0g", "-3", create(-3.0));