Skip to content

Commit

Permalink
Remove force_eval in floor
Browse files Browse the repository at this point in the history
  • Loading branch information
saethlin committed Apr 19, 2024
1 parent 324ff73 commit 4366e89
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/math/floor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ pub fn floor(x: f64) -> f64 {
};
/* special case because of non-nearest rounding modes */
if e < 0x3ff {
force_eval!(y);
return if (ui >> 63) != 0 { -1. } else { 0. };
}
if y > 0. {
Expand Down

0 comments on commit 4366e89

Please sign in to comment.