-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Some return values for MathF.Pow() are wrong #9571
Conversation
Learn Build status updates of commit e0d581a: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
The full set of rules for
It would be good to see if we can make all of this match up with the docs |
Except for the parts about signaling NaNs, I'd say, since I don't think we even have access to signaling NaNs. |
Co-authored-by: Genevieve Warren <[email protected]>
Learn Build status updates of commit 4ebb77c: ✅ Validation status: passed
For more details, please refer to the build report. For any questions, please:
|
Summary
MathF.Pow(float.NaN,0f)
returns1
, notNaN
.MathF.Pow(1f,float.NaN)
returns1
, notNaN
.This outputs
1
twice.