| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Coverage Report
The above coverage report was generated for the changes in this PR. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Resolves a part of #11352.
Description
This pull request migrates the tests for @stdlib/math/base/special/erfcinv (test/test.js and test/test.native.js) from relative-tolerance (EPS-scaled delta/tol) comparisons to ULP-difference assertions using @stdlib/assert/is-almost-same-value.
The seven fixture blocks each had a distinct tolerance multiplier in the original tests (3.0, 3.0, 3.0, 13.0, 14.0, 9.0, and 1.0 times EPS). Final ULP constants were determined empirically by computing the actual maximum ULP distance between the JS implementation's output and the Julia fixture data for each block, then confirming that the tests fail at N - 1 and pass deterministically (verified across two consecutive runs) at the chosen N:
The native add-on could not be built in this environment, so test.native.js assertions are skipped, but the file was updated identically to test.js (native add-on is expected to produce the same output as the JS implementation).
Related Issues
This pull request has the following related issues:
Questions
No.
Other
No.
Checklist
Generated by Claude Code