Home | History | Annotate | Download | only in mips

Lines Matching defs:rounded

957 bool Simulator::set_fcsr_round_error(double original, double rounded) {
959 rounded > LONG_MAX ||
960 rounded < LONG_MIN) {
963 } else if (original != static_cast<double>(rounded)) {
1681 double rounded = fs > 0 ? floor(fs + 0.5) : ceil(fs - 0.5);
1682 int32_t result = static_cast<int32_t>(rounded);
1684 if (set_fcsr_round_error(fs, rounded)) {
1700 double rounded = floor(fs);
1701 int32_t result = static_cast<int32_t>(rounded);
1703 if (set_fcsr_round_error(fs, rounded)) {
1710 double rounded = ceil(fs);
1711 int32_t result = static_cast<int32_t>(rounded);
1713 if (set_fcsr_round_error(fs, rounded)) {
1732 double rounded = fs > 0 ? floor(fs + 0.5) : ceil(fs - 0.5);
1733 i64 = static_cast<int64_t>(rounded);