Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Precision testing #147

Closed
gnzlbg opened this issue Aug 27, 2018 · 1 comment
Closed

Precision testing #147

gnzlbg opened this issue Aug 27, 2018 · 1 comment

Comments

@gnzlbg
Copy link
Contributor

gnzlbg commented Aug 27, 2018

Part of the testing harness should be to test the worst case precision of the APIs. Probably, the easiest way to do this would be to use the mpfr library as a dev-dependency and use it to check that all APIs have a worst-case precision of 0.5 ULPs. For the APIs taking multiple f32s or f64s we can't feasibly test them for all inputs, but these should at least be exhaustively tested for the inputs that generally trigger the worst-case precision.

@tgross35
Copy link
Contributor

Done, only took 6 years :) #311

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants