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

Float comparisons involving NaN should always be false #221

Open
tolauwae opened this issue Feb 7, 2024 · 0 comments
Open

Float comparisons involving NaN should always be false #221

tolauwae opened this issue Feb 7, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@tolauwae
Copy link
Member

tolauwae commented Feb 7, 2024

Floating points in WebAssembly follow the IEEE-754 standard, where all comparisons with NaN should be false.
This is not the case in WARDuino.

https://webassembly.github.io/spec/core/bikeshed/#floating-point%E2%91%A0

@tolauwae tolauwae added the bug Something isn't working label Feb 7, 2024
@tolauwae tolauwae self-assigned this Feb 7, 2024
@tolauwae tolauwae changed the title Float compares involving NaN should always be false Float comparisons involving NaN should always be false Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant