Skip to content
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

Invalid strict-eq comparison with NaN #60

Closed
anba opened this issue Jul 30, 2014 · 0 comments · Fixed by #66
Closed

Invalid strict-eq comparison with NaN #60

anba opened this issue Jul 30, 2014 · 0 comments · Fixed by #66

Comments

@anba
Copy link
Contributor

anba commented Jul 30, 2014

The following tests assume NaN === NaN is true.

  • es6/Math.fround/Math.fround_NaN.js
  • es6/Math.hypot/Math.hypot_NaN.js
  • es6/Math.trunc/Math.trunc_NaN.js
smikes added a commit to smikes/test262 that referenced this issue Jul 31, 2014
use number.isNaN to test for NaN
pointed out by @anba in tc39#60
smikes added a commit to smikes/test262 that referenced this issue Jul 31, 2014
use number.isNaN to test for NaN
pointed out by @anba in tc39#60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant