Home | History | Annotate | Download | only in cintltst

Lines Matching refs:roundingTest2

999     roundingTest2(nnf, -0.125, UNUM_ROUND_CEILING, "-0.12");
1000 roundingTest2(nnf, -0.125, UNUM_ROUND_FLOOR, "-0.13");
1001 roundingTest2(nnf, -0.125, UNUM_ROUND_DOWN, "-0.12");
1002 roundingTest2(nnf, -0.125, UNUM_ROUND_UP, "-0.13");
1003 roundingTest2(nnf, 0.125, UNUM_FOUND_HALFEVEN, "0.12");
1004 roundingTest2(nnf, 0.135, UNUM_ROUND_HALFDOWN, "0.13");
1005 roundingTest2(nnf, 0.125, UNUM_ROUND_HALFUP, "0.13");
1006 roundingTest2(nnf, 0.135, UNUM_FOUND_HALFEVEN, "0.14");
1008 roundingTest2(nnf, 1.00, UNUM_ROUND_UP, "1");
1009 roundingTest2(nnf, 24.25, UNUM_ROUND_UP, "24.25");
1010 roundingTest2(nnf, 24.25, UNUM_ROUND_CEILING, "24.25");
1011 roundingTest2(nnf, -24.25, UNUM_ROUND_UP, "-24.25");
1014 roundingTest2(nnf, 1.0000001, UNUM_ROUND_CEILING, "1.01");
1015 roundingTest2(nnf, 1.0000001, UNUM_ROUND_FLOOR, "1");
1016 roundingTest2(nnf, 1.0000001, UNUM_ROUND_DOWN, "1");
1017 roundingTest2(nnf, 1.0000001, UNUM_ROUND_UP, "1.01");
1018 roundingTest2(nnf, 1.0000001, UNUM_FOUND_HALFEVEN, "1");
1019 roundingTest2(nnf, 1.0000001, UNUM_ROUND_HALFDOWN, "1");
1020 roundingTest2(nnf, 1.0000001, UNUM_ROUND_HALFUP, "1");
1022 roundingTest2(nnf, -1.0000001, UNUM_ROUND_CEILING, "-1");
1023 roundingTest2(nnf, -1.0000001, UNUM_ROUND_FLOOR, "-1.01");
1024 roundingTest2(nnf, -1.0000001, UNUM_ROUND_DOWN, "-1");
1025 roundingTest2(nnf, -1.0000001, UNUM_ROUND_UP, "-1.01");
1026 roundingTest2(nnf, -1.0000001, UNUM_FOUND_HALFEVEN, "-1");
1027 roundingTest2(nnf, -1.0000001, UNUM_ROUND_HALFDOWN, "-1");
1028 roundingTest2(nnf, -1.0000001, UNUM_ROUND_HALFUP, "-1");
1035 static void roundingTest2(UNumberFormat* nf, double x, int32_t roundingMode, const char* expected)