Skip to content

fix xexpfrexp#627

Merged
shibatch merged 1 commit intoshibatch:masterfrom
longbiao7498:fix-expfrexp
Feb 11, 2025
Merged

fix xexpfrexp#627
shibatch merged 1 commit intoshibatch:masterfrom
longbiao7498:fix-expfrexp

Conversation

@longbiao7498
Copy link
Copy Markdown
Contributor

This commit fixes a bug in the xexpfrexp function: before calling vsel_vi_vo_vi_vi(), the xexpfrexp function did not use vcast_vo32_vo64() to convert vopmask64 to vopmask32. This omission caused incorrect results in the AdvSIMD implementation of xexpfrexp, making it unable to correctly handle input vectors that contain NaN and 0.0.

@longbiao7498
Copy link
Copy Markdown
Contributor Author

This commit addresses the same issue described in issue #438

@shibatch
Copy link
Copy Markdown
Owner

Thank you for your PR.
I will merge your patch after confirming that it passes all the tests.

@shibatch shibatch merged commit d1663ca into shibatch:master Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants