mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:30:53 +01:00
[PR #1005] [MERGED] f64_diff: v_div_fixup_f64 reference follows the gfx1036 measurement (F64-DIFF-DIV-FIXUP-REF) #1041
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1041
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1005
Author: @thesubtleties
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/25/2026
Merged by: @QemmHD
Base:
main← Head:f64-diff-fixup-ref📝 Commits (1)
3edc26bf64_diff: v_div_fixup_f64 reference follows the gfx1036 measurement (F64-DIFF-DIV-FIXUP-REF)📊 Changes
2 files changed (+25 additions, -12 deletions)
View changed files
📝
tests/test_f64_diff.py(+18 -7)📝
tools/f64_diff.py(+7 -5)📄 Description
Claimed in the coordination issue as: F64-DIFF-DIV-FIXUP-REF
What and why
The
v_div_fixup_f64reference intools/f64_diff.pystill had the old rule: infinity whenexp(S2) - exp(S1) >= 1024, underflow from-1075, and quieted NaN sources. The gfx1036 measurement recorded indocs/design.md(v_div_fixup row, by timelery) says: no overflow cutoff, underflow at<= -1076, NaN sources pass unquieted. The translator already follows it, so the fuzzer reported false mismatches. Only the fuzzer and its tests change. The same design row still states the old rule earlier in its text; I left that for a docs change.Tested
tools/f64_diff.py --programs 300: seeds 770707 and 3 go from 1 mismatch to 0; seeds 1, 2, 4, 5 stay at 0.--self-testpasses.tests/test_f64_diff.py: 32 passed, with five table rows moved to the measured values and a new reference-against-translator check at the cutoffs.GPUs tested: n/a
AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md: n/a, no translator change.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.