Home | History | Annotate | Download | only in cintltst

Lines Matching refs:roundingTest2

989     roundingTest2(nnf, -0.125, UNUM_ROUND_CEILING, "-0.12");
990 roundingTest2(nnf, -0.125, UNUM_ROUND_FLOOR, "-0.13");
991 roundingTest2(nnf, -0.125, UNUM_ROUND_DOWN, "-0.12");
992 roundingTest2(nnf, -0.125, UNUM_ROUND_UP, "-0.13");
993 roundingTest2(nnf, 0.125, UNUM_FOUND_HALFEVEN, "0.12");
994 roundingTest2(nnf, 0.135, UNUM_ROUND_HALFDOWN, "0.13");
995 roundingTest2(nnf, 0.125, UNUM_ROUND_HALFUP, "0.13");
996 roundingTest2(nnf, 0.135, UNUM_FOUND_HALFEVEN, "0.14");
998 roundingTest2(nnf, 1.00, UNUM_ROUND_UP, "1");
999 roundingTest2(nnf, 24.25, UNUM_ROUND_UP, "24.25");
1000 roundingTest2(nnf, 24.25, UNUM_ROUND_CEILING, "24.25");
1001 roundingTest2(nnf, -24.25, UNUM_ROUND_UP, "-24.25");
1004 roundingTest2(nnf, 1.0000001, UNUM_ROUND_CEILING, "1.01");
1005 roundingTest2(nnf, 1.0000001, UNUM_ROUND_FLOOR, "1");
1006 roundingTest2(nnf, 1.0000001, UNUM_ROUND_DOWN, "1");
1007 roundingTest2(nnf, 1.0000001, UNUM_ROUND_UP, "1.01");
1008 roundingTest2(nnf, 1.0000001, UNUM_FOUND_HALFEVEN, "1");
1009 roundingTest2(nnf, 1.0000001, UNUM_ROUND_HALFDOWN, "1");
1010 roundingTest2(nnf, 1.0000001, UNUM_ROUND_HALFUP, "1");
1012 roundingTest2(nnf, -1.0000001, UNUM_ROUND_CEILING, "-1");
1013 roundingTest2(nnf, -1.0000001, UNUM_ROUND_FLOOR, "-1.01");
1014 roundingTest2(nnf, -1.0000001, UNUM_ROUND_DOWN, "-1");
1015 roundingTest2(nnf, -1.0000001, UNUM_ROUND_UP, "-1.01");
1016 roundingTest2(nnf, -1.0000001, UNUM_FOUND_HALFEVEN, "-1");
1017 roundingTest2(nnf, -1.0000001, UNUM_ROUND_HALFDOWN, "-1");
1018 roundingTest2(nnf, -1.0000001, UNUM_ROUND_HALFUP, "-1");
1025 static void roundingTest2(UNumberFormat* nf, double x, int32_t roundingMode, const char* expected)