Skip to content
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

[Tests] Fix precision constraints for FP math operations #36

Open
edanor opened this issue Aug 23, 2016 · 0 comments
Open

[Tests] Fix precision constraints for FP math operations #36

edanor opened this issue Aug 23, 2016 · 0 comments

Comments

@edanor
Copy link
Owner

edanor commented Aug 23, 2016

Originally reported by: edanor (Bitbucket: edanor, GitHub: edanor)


Some floating point operations rely on approximation. The problem is to test such functions against standard version with automatically generated data inputs.

What should be done is:

  1. design a code pattern for calculating 'ULP distance' from the reference value,
  2. create a test fail/pass threshold value expressed in this ULP distance,
  3. report the ulp precision (for selected tests only) together with test result.

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

No branches or pull requests

1 participant