Skip to content

feat: Golden testing against SymFPU #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 21 commits into
base: main
Choose a base branch
from
Draft

feat: Golden testing against SymFPU #2

wants to merge 21 commits into from

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?

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