Skip to content

Added next_up and next_down for f32/f64. #88728

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Semicolon after macro_rules definition.
  • Loading branch information
orlp committed Feb 19, 2022
commit 01951a09062cf655a43a21224e8fe3576429a30f
2 changes: 1 addition & 1 deletion library/std/src/f32/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ macro_rules! assert_f32_biteq {
let lb = l.to_bits();
let rb = r.to_bits();
assert_eq!(lb, rb, "float {} ({:#x}) is not equal to {} ({:#x})", *l, lb, *r, rb);
}
};
}

// Ignore test on x87 floating point, these platforms do not guarantee NaN
Expand Down
2 changes: 1 addition & 1 deletion library/std/src/f64/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ macro_rules! assert_f64_biteq {
let lb = l.to_bits();
let rb = r.to_bits();
assert_eq!(lb, rb, "float {} ({:#x}) is not equal to {} ({:#x})", *l, lb, *r, rb);
}
};
}

// Ignore test on x87 floating point, these platforms do not guarantee NaN
Expand Down