Skip to content

Conversation

@slipher
Copy link
Member

@slipher slipher commented Dec 12, 2024

Add a unit test so we can verify that magic square root algorithms meet the claimed tolerances. If #1458 adds a second version of the function, we can copy and paste the test and just change the relativeTolerance.

Copy link
Member

@illwieckz illwieckz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@slipher slipher merged commit 81107ff into DaemonEngine:master Dec 16, 2024
9 checks passed
@slipher slipher deleted the test-rsqrt branch December 16, 2024 21:16
@illwieckz
Copy link
Member

I just notice this uses values for testing the SSE code, not the magic implementation.

@illwieckz
Copy link
Member

Or the magic one, but not the SSE one, I guess the relative error bound may differ.

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