Lines Matching refs:rounded_int

1342                                         int32_t& rounded_int, double fs) {  in round_according_to_fcsr()  argument
1359 rounded_int = static_cast<int32_t>(rounded); in round_according_to_fcsr()
1360 if ((rounded_int & 1) != 0 && rounded_int - fs == 0.5) { in round_according_to_fcsr()
1363 rounded_int--; in round_according_to_fcsr()
1369 rounded_int = static_cast<int32_t>(rounded); in round_according_to_fcsr()
1373 rounded_int = static_cast<int32_t>(rounded); in round_according_to_fcsr()
1377 rounded_int = static_cast<int32_t>(rounded); in round_according_to_fcsr()
1384 int64_t& rounded_int, double fs) { in round64_according_to_fcsr() argument
1401 rounded_int = static_cast<int64_t>(rounded); in round64_according_to_fcsr()
1402 if ((rounded_int & 1) != 0 && rounded_int - fs == 0.5) { in round64_according_to_fcsr()
1405 rounded_int--; in round64_according_to_fcsr()
1411 rounded_int = static_cast<int64_t>(rounded); in round64_according_to_fcsr()
1415 rounded_int = static_cast<int64_t>(rounded); in round64_according_to_fcsr()
1419 rounded_int = static_cast<int64_t>(rounded); in round64_according_to_fcsr()
1427 int32_t& rounded_int, float fs) { in round_according_to_fcsr() argument
1444 rounded_int = static_cast<int32_t>(rounded); in round_according_to_fcsr()
1445 if ((rounded_int & 1) != 0 && rounded_int - fs == 0.5) { in round_according_to_fcsr()
1448 rounded_int--; in round_according_to_fcsr()
1454 rounded_int = static_cast<int32_t>(rounded); in round_according_to_fcsr()
1458 rounded_int = static_cast<int32_t>(rounded); in round_according_to_fcsr()
1462 rounded_int = static_cast<int32_t>(rounded); in round_according_to_fcsr()
1469 int64_t& rounded_int, float fs) { in round64_according_to_fcsr() argument
1486 rounded_int = static_cast<int64_t>(rounded); in round64_according_to_fcsr()
1487 if ((rounded_int & 1) != 0 && rounded_int - fs == 0.5) { in round64_according_to_fcsr()
1490 rounded_int--; in round64_according_to_fcsr()
1496 rounded_int = static_cast<int64_t>(rounded); in round64_according_to_fcsr()
1500 rounded_int = static_cast<int64_t>(rounded); in round64_according_to_fcsr()
1504 rounded_int = static_cast<int64_t>(rounded); in round64_according_to_fcsr()
1511 T_int& rounded_int) { in round_according_to_msacsr() argument
1528 rounded_int = static_cast<T_int>(rounded); in round_according_to_msacsr()
1529 if ((rounded_int & 1) != 0 && rounded_int - toRound == 0.5) { in round_according_to_msacsr()
1532 rounded_int--; in round_according_to_msacsr()
1538 rounded_int = static_cast<T_int>(rounded); in round_according_to_msacsr()
1542 rounded_int = static_cast<T_int>(rounded); in round_according_to_msacsr()
1546 rounded_int = static_cast<T_int>(rounded); in round_according_to_msacsr()