Lines Matching refs:rmode

829 get_BID64 (UINT64 sgn, int expon, UINT64 coeff, int rmode,
851 if (rmode == ROUNDING_DOWN && sgn)
853 if (rmode == ROUNDING_UP && !sgn)
862 if (sgn && (unsigned) (rmode - 1) < 2)
863 rmode = 3 - rmode;
868 coeff += round_const_table[rmode][extra_digits];
881 if (rmode == 0) //ROUNDING_TO_NEAREST
912 switch (rmode) {
961 switch (rmode) {
1055 fast_get_BID64_check_OF (UINT64 sgn, int expon, UINT64 coeff, int rmode,
1077 switch (rmode) {
1176 get_BID64_UF (UINT64 sgn, int expon, UINT64 coeff, UINT64 R, int rmode,
1190 if (rmode == ROUNDING_DOWN && sgn)
1192 if (rmode == ROUNDING_UP && !sgn)
1203 if (sgn && (unsigned) (rmode - 1) < 2)
1204 rmode = 3 - rmode;
1211 C128.w[0] = coeff + round_const_table[rmode][extra_digits];
1225 if (rmode == 0) //ROUNDING_TO_NEAREST
1256 switch (rmode) {
1304 int rmode, unsigned *fpsc) {
1321 if (rmode == ROUNDING_DOWN && sgn)
1323 if (rmode == ROUNDING_UP && !sgn)
1332 if (sgn && (unsigned) (rmode - 1) < 2)
1333 rmode = 3 - rmode;
1338 C128.w[0] = coeff + round_const_table[rmode][extra_digits];
1351 if (rmode == 0) //ROUNDING_TO_NEAREST
1382 switch (rmode) {
1432 switch (rmode) {
1486 unsigned rmode, status;
1519 rmode = *prounding_mode;
1520 if (sgn && (unsigned) (rmode - 1) < 2)
1521 rmode = 3 - rmode;
1523 rmode = 0;
1526 rmode = 0;
1528 T128 = round_const_table_128[rmode][ed2];
1571 switch (rmode) {
1629 unsigned rmode, status;
1652 rmode = *prounding_mode;
1653 if (sgn && (unsigned) (rmode - 1) < 2)
1654 rmode = 3 - rmode;
1656 rmode = 0;
1659 rmode = 0;
1662 T128 = round_const_table_128[rmode][ed2];
1705 switch (rmode) {
2066 unsigned rmode = 0, status;
2080 return handle_UF_128 (pres, sgn, expon, coeff, &rmode, &status);
2103 switch (rmode) {
2185 get_BID32 (UINT32 sgn, int expon, UINT64 coeff, int rmode,
2208 if (rmode == ROUNDING_DOWN && sgn)
2210 if (rmode == ROUNDING_UP && !sgn)
2219 rmode = 0;
2222 rmode = 0;
2226 if (sgn && (unsigned) (rmode - 1) < 2)
2227 rmode = 3 - rmode;
2232 coeff += round_const_table[rmode][extra_digits];
2244 if (rmode == 0) //ROUNDING_TO_NEAREST
2271 switch (rmode) {
2310 switch (rmode) {