Skip to content

feat: Golden testing against SymFPU#2

Merged
spdskatr merged 26 commits intomainfrom
golden
May 12, 2025
Merged

feat: Golden testing against SymFPU#2
spdskatr merged 26 commits intomainfrom
golden

Conversation

@bollu
Copy link
Contributor

@bollu bollu commented Apr 28, 2025

In this PR, we build SymFPU, produce golden test cases for small mantissa/exponent, and exhaustively check our fp.lean implementation against SymFPU to guarantee bit-for-bit equivalence.

  • Build SymFPU
  • Produce golden output from SymFPU
  • Produce comparable output from fp.lean
  • Script to automatically catalogue differences
  • Add scripting to CI.

@bollu bollu marked this pull request as draft April 28, 2025 15:36
@bollu
Copy link
Contributor Author

bollu commented May 7, 2025

@spdskatr why not merge this in, and then continue integrating SymFPU in a subsequent branch / PR?

@bollu bollu marked this pull request as ready for review May 12, 2025 08:33
@spdskatr spdskatr merged commit bbb1fa9 into main May 12, 2025
2 checks passed
@spdskatr spdskatr deleted the golden branch May 14, 2025 11:02
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