-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
{f32,f64,float}::tests::test_frexp unit tests in libstd fail on Windows #8755
Comments
This has not been fixed by upgrading to mingw-w64 |
@retep998 do you know if this is still an issue? I'm not aware of tests failing. |
I have no idea. I'm not an expert on the precise behavior of the math functions. |
I guess I meant if you had seen test failures, not the details of them failing. |
Given that there's been no substantial comments here in years, I'm going to consider this one stale; please let me know if this is somehow reproducible today. |
…r=Centri3,flip1995,Manishearth Don't lint manual_let_else in cases where ? would work Don't lint `manual_let_else` where the question mark operator `?` would be sufficient, that is, mostly in cases like: ```Rust let v = if let Some(v) = ex { v } else { return None }; ``` Also, this PR emits the `question_mark` lint for `let...else` patterns that could be written with `?` (also, only `return None` like cases). ``` changelog: [`manual_let_else`]: don't lint in cases where question_mark already lints changelog: [`question_mark`]: lint for `let Some(...) = ex else { return None };` ``` Fixes rust-lang#8755
SImilarly to #8663, looks like mingw32 implementation of frexp() violates the spec when dealing with +/-infinity.
The text was updated successfully, but these errors were encountered: