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

1 ULP error in 64 bit square root #4

Open
arunkmv opened this issue May 26, 2020 · 0 comments
Open

1 ULP error in 64 bit square root #4

arunkmv opened this issue May 26, 2020 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@arunkmv
Copy link
Collaborator

arunkmv commented May 26, 2020

Random tests fail with 1 ULP error for certain 64 bit square root conditions.
Need to check whether test generator or DivSqrt module is responsible and rectify it.

Utilization of long double for test generation could be causing the error:
pexpected = posit<nbits, es>(std::sqrt((long double)pa));

@arunkmv arunkmv added bug Something isn't working help wanted Extra attention is needed labels Jun 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant