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

Floor & ceiling functions failing for all even whole numbers #17

Closed
walbourn opened this issue Jun 9, 2016 · 1 comment
Closed

Floor & ceiling functions failing for all even whole numbers #17

walbourn opened this issue Jun 9, 2016 · 1 comment
Assignees
Labels

Comments

@walbourn
Copy link
Member

walbourn commented Jun 9, 2016

XMVectorFloor and XMVectorCeiling will return incorrect results for all even whole numbers due to the round-to-nearest even behavior (105.0 -> 104.0f rather than 105.0f). This impacts ARM-NEON and SSE / SSE2 codepaths.

@walbourn walbourn added the bug label Jun 9, 2016
@walbourn
Copy link
Member Author

walbourn commented Jun 9, 2016

This was fixed in DirectXMath 3.05

@walbourn walbourn closed this as completed Jun 9, 2016
@walbourn walbourn self-assigned this Jun 9, 2016
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

1 participant