You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 11, 2020. It is now read-only.
For single-argument Float32 functions, one can exhaustively test the entire range. It seems like we should do that. For Float16 (supposing we support that, see #15), one can even test two-argument functions exhaustively. There should be a strategy for testing all the libm functions for accuracy. Known hard values + random sampling? For two-arg Float32 functions, we could use a sample of values for each argument and test the full range of the other argument against that.
The text was updated successfully, but these errors were encountered:
Sleef does Accuracy testing against MPFR
over targetted (large) ranges, determined per function eg [-10:0.0002:10; -10_000_000:200.1:10_000_000; 1:10_000]
Plus targeted tests around things like NaN and Inf
For single-argument
Float32
functions, one can exhaustively test the entire range. It seems like we should do that. ForFloat16
(supposing we support that, see #15), one can even test two-argument functions exhaustively. There should be a strategy for testing all the libm functions for accuracy. Known hard values + random sampling? For two-argFloat32
functions, we could use a sample of values for each argument and test the full range of the other argument against that.The text was updated successfully, but these errors were encountered: