Skip to content

Conversation

HerrCai0907
Copy link
Member

@HerrCai0907 HerrCai0907 commented Oct 12, 2025

json which has stderr will not check the execution and snopshot.

Comment on lines 81 to 87
// always true
assert(+.0 == -.0);
assert(-.0 != -.0);
assert(-.0 == -.0);
assert(-.0 == +.0);
assert(f32(+.0) == f32(-.0));
assert(f32(-.0) != f32(-.0));
assert(f32(-.0) == f32(-.0));
assert(f32(-.0) == f32(+.0));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder why this test was written this way...it looks more-or-less intentional(?)

In any case, the correct semantics would be those of JS/Wasm/IEEE-754 anyway.

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