-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
number comparisons are inconsistent #4018
Comments
Correction (as Lasse correctly points out): |
Added Ready-to-implement label. |
cc @floitschG. |
Added Library-Core label. |
Removed the owner. |
CL was: https://codereview.chromium.org/27314003/ |
Removed Ready-to-implement label. |
When comparing doubles and integers (one each) we currently always convert the integer to double. This doesn't make sense when integers are bigger than 2^53.
In this case the integers should always be greater than the double (except for double.INFINITY).
The text was updated successfully, but these errors were encountered: