Skip to content

Avoid relying on correct rounding of mod_float.#77

Merged
sunfishcode merged 1 commit intomasterfrom
nearest-fix
Sep 18, 2015
Merged

Avoid relying on correct rounding of mod_float.#77
sunfishcode merged 1 commit intomasterfrom
nearest-fix

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