Skip to content

Fast-math mode can ignore the difference between negative zero and zero - #9056

Merged
kripken merged 2 commits into
WebAssembly:mainfrom
kripken:fmath.neg0
Aug 28, 2026
Merged

Fast-math mode can ignore the difference between negative zero and zero#9056
kripken merged 2 commits into
WebAssembly:mainfrom
kripken:fmath.neg0

Conversation

@kripken

@kripken kripken commented Aug 28, 2026

Copy link
Copy Markdown
Member

This is a standard part of fast-math in clang and gcc:

https://clang.llvm.org/docs/UsersManual.html#cmdoption-ffast-math

We may have already been optimizing it, I'm not sure, but a later
PR will do so, so it seems worth documenting explicitly.

@kripken
kripken requested a review from a team as a code owner August 28, 2026 19:34
@kripken
kripken requested review from tlively and removed request for a team August 28, 2026 19:34
@kripken
kripken merged commit 8bad4db into WebAssembly:main Aug 28, 2026
16 checks passed
@kripken
kripken deleted the fmath.neg0 branch August 28, 2026 22:54
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