-
Notifications
You must be signed in to change notification settings - Fork 229
Spurious floattidf failures on mips #168
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
Comments
Yup, I've got this in #161 as well, but lacked the discipline to open an issue :) |
Here's the test: static TEST_CASES: &[((i128,), u64)] = &[ /*...*/ ];
#[test]
fn floattidf() {
for &((a,), b) in TEST_CASES {
let b_ = __floattidf(a);
let g_b = to_u64(b_);
let diff = if g_b > b { g_b - b } else { b - g_b };
assert_eq!(((a,), b, g_b, true), ((a,), b, g_b, diff <= 1));
}
} |
This was referenced Dec 8, 2020
Merged
This has been fixed by #397 |
tgross35
pushed a commit
to tgross35/compiler-builtins
that referenced
this issue
Feb 23, 2025
…g-mode Run musl test in debug mode
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This was coming up every so often on #166 so wanted to jot this down before I forgot.
The text was updated successfully, but these errors were encountered: