Skip to content

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

@edanor

Description

@edanor

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions