Skip to content

Conversation

@sunfishcode
Copy link
Member

In #448 it was noticed that the NaN tests for promote and demote tested for a specific bitpattern; they should the new assert_return_canonical_nan.

#414 added several tests using assert_return_arithmetic_nan to test various operators on signaling NaN. This PR contains a patch which adds such test coverage for more operators.

With this last change, f32.wast and f64.wast are growing fairly large, so this PR also contains a patch to split out the bitwise floating-point ops (neg, abs, copysign) into their own file.

And, this adds several other miscellaneous tests.

@gahaas
Copy link
Collaborator

gahaas commented Apr 4, 2017

Thanks for writing these tests, lgtm

@sunfishcode sunfishcode merged commit f1b89df into master Apr 4, 2017
@sunfishcode sunfishcode deleted the test-cleanups branch April 4, 2017 23:28
ngzhian pushed a commit to ngzhian/spec that referenced this pull request Nov 4, 2021
ngzhian added a commit to ngzhian/spec that referenced this pull request Nov 4, 2021
Opcodes were finalized in WebAssembly#452, this updates the interpreter and spec
text to use these final opcodes.
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.

3 participants