-
Notifications
You must be signed in to change notification settings - Fork 137
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
Flang Binary Release 2019-03-29: NaN > 0
#1337
Comments
@zaikunzhang I tried your test in a recent build of
So I don't think this problem exists in the latest version of the code. I will double-check with |
Thank you @bryanpkc for checking this. It is great to know that the latest version does not have the same issue. |
I hope to mention that the bug arises only if
which is wrong as well, but |
I ran with |
Hi @bryanpkc . Thank you again for checking this. I have succeeded in compiling |
This is a bug in Flang Binary Release 2019-03-29, which evaluates
NaN > 0
to.TRUE.
.Since I have not succeeded in building Flang, and there is no up-to-date binary release, I am still using this old version.
I am not sure whether the same problem exists in the current version. It would be great if someone can check it.
Code:
Result:
Thank you very much!
The text was updated successfully, but these errors were encountered: