-
Notifications
You must be signed in to change notification settings - Fork 13.4k
f32::NAN as i128 different between miri and LLVM #65245
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
Duplicate of #10184 |
It doesn't seem like the LLVM case is caused by UB, as the compiler-builtins intrinsic returns |
Well it definitely is UB. I don't think it's really defined anywhere what the compiler-builtins intrinsic should return in this case so what it returns doesn't really mean anything. |
In that case the saturating-float-casts test shouldnt test for a specific value being returned. |
That test needs to be compiled with
See #10184 for more information. |
Uh oh!
There was an error while loading. Please reload this page.
The text was updated successfully, but these errors were encountered: