Skip to content

Constraints: Do not optimize floats without fast-math - #9049

Merged
kripken merged 3 commits into
WebAssembly:mainfrom
kripken:c.fastm
Aug 27, 2026
Merged

Constraints: Do not optimize floats without fast-math#9049
kripken merged 3 commits into
WebAssembly:mainfrom
kripken:c.fastm

Conversation

@kripken

@kripken kripken commented Aug 27, 2026

Copy link
Copy Markdown
Member

Floating-point math does not follow basic logic (a fact and its negation
can both be false, for example), so we must not optimize it. The exception
is when NaNs are not possible, in fast-math mode.

@kripken
kripken requested a review from a team as a code owner August 27, 2026 18:54
@kripken
kripken requested review from stevenfontanella and removed request for a team August 27, 2026 18:54
@kripken
kripken requested a review from tlively August 27, 2026 20:51
@kripken
kripken merged commit d03c25e into WebAssembly:main Aug 27, 2026
16 checks passed
@kripken
kripken deleted the c.fastm branch August 27, 2026 23:56
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