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];
1573 switch (rmode) {
1631 unsigned rmode, status;
1654 rmode = *prounding_mode;
1655 if (sgn && (unsigned) (rmode - 1) < 2)
1656 rmode = 3 - rmode;
1658 rmode = 0;
1661 rmode = 0;
1664 T128 = round_const_table_128[rmode][ed2];
1709 switch (rmode) {
2070 unsigned rmode = 0, status;
2084 return handle_UF_128 (pres, sgn, expon, coeff, &rmode, &status);
2107 switch (rmode) {
2189 get_BID32 (UINT32 sgn, int expon, UINT64 coeff, int rmode,
2212 if (rmode == ROUNDING_DOWN && sgn)
2214 if (rmode == ROUNDING_UP && !sgn)
2223 rmode = 0;
2226 rmode = 0;
2230 if (sgn && (unsigned) (rmode - 1) < 2)
2231 rmode = 3 - rmode;
2236 coeff += round_const_table[rmode][extra_digits];
2248 if (rmode == 0) //ROUNDING_TO_NEAREST
2275 switch (rmode) {
2314 switch (rmode) {