Skip to content

docs(interp): fcmp header describes duck_fcmp order, not stale IEEE claim - #31

Merged
ahrzb merged 1 commit into
masterfrom
claude/affectionate-shtern-5e3567
Jul 26, 2026
Merged

docs(interp): fcmp header describes duck_fcmp order, not stale IEEE claim#31
ahrzb merged 1 commit into
masterfrom
claude/affectionate-shtern-5e3567

Conversation

@claude-agent-ahrzb

Copy link
Copy Markdown

The module header in src/specializer/exec/interp.rs still said fcmp is IEEE-ordered (every NaN predicate false except ne). The implementation (Inst::Cmp, Ty::F64 arm) has used exec::duck_fcmp — DuckDB DOUBLE order where NaN = NaN, NaN sorts above everything, and -0.0 = 0.0 — as pinned by pin_fcmp_nan_ordering / pin_fcmp_nan_eq_nan_and_zero_order.

Doc-only change; updates the one bullet to reference exec::duck_fcmp so spec text stops copying the stale IEEE claim.

Verified: cargo test specializer — 127 passed, 0 failed.

🤖 Generated with Claude Code

… IEEE claim

The Inst::Cmp F64 arm has used exec::duck_fcmp (NaN = NaN, NaN above
everything, -0.0 = 0.0) since the DuckDB pin; the module header still
claimed IEEE-ordered NaN-is-false semantics.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ahrzb
ahrzb merged commit 703ff68 into master Jul 26, 2026
1 check passed
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.

1 participant