Lines Matching refs:roundingTest2
967 roundingTest2(nnf, -0.125, UNUM_ROUND_CEILING, "-0.12"); in TestRounding5350()
968 roundingTest2(nnf, -0.125, UNUM_ROUND_FLOOR, "-0.13"); in TestRounding5350()
969 roundingTest2(nnf, -0.125, UNUM_ROUND_DOWN, "-0.12"); in TestRounding5350()
970 roundingTest2(nnf, -0.125, UNUM_ROUND_UP, "-0.13"); in TestRounding5350()
971 roundingTest2(nnf, 0.125, UNUM_FOUND_HALFEVEN, "0.12"); in TestRounding5350()
972 roundingTest2(nnf, 0.135, UNUM_ROUND_HALFDOWN, "0.13"); in TestRounding5350()
973 roundingTest2(nnf, 0.125, UNUM_ROUND_HALFUP, "0.13"); in TestRounding5350()
974 roundingTest2(nnf, 0.135, UNUM_FOUND_HALFEVEN, "0.14"); in TestRounding5350()
976 roundingTest2(nnf, 1.00, UNUM_ROUND_UP, "1"); in TestRounding5350()
977 roundingTest2(nnf, 24.25, UNUM_ROUND_UP, "24.25"); in TestRounding5350()
978 roundingTest2(nnf, 24.25, UNUM_ROUND_CEILING, "24.25"); in TestRounding5350()
979 roundingTest2(nnf, -24.25, UNUM_ROUND_UP, "-24.25"); in TestRounding5350()
982 roundingTest2(nnf, 1.0000001, UNUM_ROUND_CEILING, "1.01"); in TestRounding5350()
983 roundingTest2(nnf, 1.0000001, UNUM_ROUND_FLOOR, "1"); in TestRounding5350()
984 roundingTest2(nnf, 1.0000001, UNUM_ROUND_DOWN, "1"); in TestRounding5350()
985 roundingTest2(nnf, 1.0000001, UNUM_ROUND_UP, "1.01"); in TestRounding5350()
986 roundingTest2(nnf, 1.0000001, UNUM_FOUND_HALFEVEN, "1"); in TestRounding5350()
987 roundingTest2(nnf, 1.0000001, UNUM_ROUND_HALFDOWN, "1"); in TestRounding5350()
988 roundingTest2(nnf, 1.0000001, UNUM_ROUND_HALFUP, "1"); in TestRounding5350()
990 roundingTest2(nnf, -1.0000001, UNUM_ROUND_CEILING, "-1"); in TestRounding5350()
991 roundingTest2(nnf, -1.0000001, UNUM_ROUND_FLOOR, "-1.01"); in TestRounding5350()
992 roundingTest2(nnf, -1.0000001, UNUM_ROUND_DOWN, "-1"); in TestRounding5350()
993 roundingTest2(nnf, -1.0000001, UNUM_ROUND_UP, "-1.01"); in TestRounding5350()
994 roundingTest2(nnf, -1.0000001, UNUM_FOUND_HALFEVEN, "-1"); in TestRounding5350()
995 roundingTest2(nnf, -1.0000001, UNUM_ROUND_HALFDOWN, "-1"); in TestRounding5350()
996 roundingTest2(nnf, -1.0000001, UNUM_ROUND_HALFUP, "-1"); in TestRounding5350()
1003 static void roundingTest2(UNumberFormat* nf, double x, int32_t roundingMode, const char* expected) in roundingTest2() function