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

Half-precision floating-point conversions use non-standard extended range #16

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

Comments

@walbourn
Copy link
Member

walbourn commented Jun 9, 2016

XMConvertFloatToHalf and XMConvertHalfToFloat implement the Xbox 360 variant rather than the standard IEEE 754 variant (which impacts all the half functions). This means numbers larger than +/-65504 map to QNAN rather than INF on non-Xbox 360 platforms.

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

walbourn commented Jun 9, 2016

This is fixed in DirectXMath 3.04

@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