Lines Matching refs:rounded_int
1424 int32_t& rounded_int, double fs) { in round_according_to_fcsr() argument
1441 rounded_int = static_cast<int32_t>(rounded); in round_according_to_fcsr()
1442 if ((rounded_int & 1) != 0 && rounded_int - fs == 0.5) { in round_according_to_fcsr()
1445 rounded_int--; in round_according_to_fcsr()
1451 rounded_int = static_cast<int32_t>(rounded); in round_according_to_fcsr()
1455 rounded_int = static_cast<int32_t>(rounded); in round_according_to_fcsr()
1459 rounded_int = static_cast<int32_t>(rounded); in round_according_to_fcsr()
1466 int32_t& rounded_int, float fs) { in round_according_to_fcsr() argument
1483 rounded_int = static_cast<int32_t>(rounded); in round_according_to_fcsr()
1484 if ((rounded_int & 1) != 0 && rounded_int - fs == 0.5) { in round_according_to_fcsr()
1487 rounded_int--; in round_according_to_fcsr()
1493 rounded_int = static_cast<int32_t>(rounded); in round_according_to_fcsr()
1497 rounded_int = static_cast<int32_t>(rounded); in round_according_to_fcsr()
1501 rounded_int = static_cast<int32_t>(rounded); in round_according_to_fcsr()
1508 T_int& rounded_int) { in round_according_to_msacsr() argument
1525 rounded_int = static_cast<T_int>(rounded); in round_according_to_msacsr()
1526 if ((rounded_int & 1) != 0 && rounded_int - toRound == 0.5) { in round_according_to_msacsr()
1529 rounded_int--; in round_according_to_msacsr()
1535 rounded_int = static_cast<T_int>(rounded); in round_according_to_msacsr()
1539 rounded_int = static_cast<T_int>(rounded); in round_according_to_msacsr()
1543 rounded_int = static_cast<T_int>(rounded); in round_according_to_msacsr()
1549 int64_t& rounded_int, double fs) { in round64_according_to_fcsr() argument
1566 rounded_int = static_cast<int64_t>(rounded); in round64_according_to_fcsr()
1567 if ((rounded_int & 1) != 0 && rounded_int - fs == 0.5) { in round64_according_to_fcsr()
1570 rounded_int--; in round64_according_to_fcsr()
1576 rounded_int = static_cast<int64_t>(rounded); in round64_according_to_fcsr()
1580 rounded_int = static_cast<int64_t>(rounded); in round64_according_to_fcsr()
1584 rounded_int = static_cast<int64_t>(rounded); in round64_according_to_fcsr()
1591 int64_t& rounded_int, float fs) { in round64_according_to_fcsr() argument
1608 rounded_int = static_cast<int64_t>(rounded); in round64_according_to_fcsr()
1609 if ((rounded_int & 1) != 0 && rounded_int - fs == 0.5) { in round64_according_to_fcsr()
1612 rounded_int--; in round64_according_to_fcsr()
1618 rounded_int = static_cast<int64_t>(rounded); in round64_according_to_fcsr()
1622 rounded_int = static_cast<int64_t>(rounded); in round64_according_to_fcsr()
1626 rounded_int = static_cast<int64_t>(rounded); in round64_according_to_fcsr()