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

NEON_FLT_SP and ALTIVEC float32x4 implementation of sqrt(0) returns NaN #133

Open
peabody-korg opened this issue May 30, 2019 · 1 comment
Labels

Comments

@peabody-korg
Copy link
Contributor

the formula for these appears to use the 1/sqrt(a) estimate operation, which presumably results in Inf for a=0. Probably need to explicitly check for a==0 and mask result accordingly.

@p12tic
Copy link
Owner

p12tic commented Jun 2, 2019

Agreed, thanks for the report.

@p12tic p12tic added the bug label Jun 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants