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

Avoid relying on correct rounding of mod_float. #77

Merged
merged 1 commit into from
Sep 18, 2015
Merged

Conversation

sunfishcode
Copy link
Member

mod_float is not always correctly rounded on all platforms. This patch uses a safer algorithm to check whether a number is even.

@rossberg
Copy link
Member

lgtm

sunfishcode added a commit that referenced this pull request Sep 18, 2015
Avoid relying on correct rounding of mod_float.
@sunfishcode sunfishcode merged commit accca7a into master Sep 18, 2015
@sunfishcode sunfishcode deleted the nearest-fix branch September 18, 2015 13:45
eqrion pushed a commit to eqrion/wasm-spec that referenced this pull request Jul 18, 2019
awendland pushed a commit to awendland/webassembly-spec-abstypes that referenced this pull request Mar 26, 2020
rossberg pushed a commit that referenced this pull request Nov 6, 2024
* Fix hardcoded use of i32 in call_indirect and return_call_indirect

* Add missing prose for table type in table.size

* Update table and memory type matching

This is used for matching external types.

* Update store integrity section for index types

* Fix rogue backslashes
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 this pull request may close these issues.

2 participants