-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Add default NaN/Inf to C#, Java, Python #5107
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
Conversation
9435fe6 to
5224bf5
Compare
19af105 to
9c2598a
Compare
|
@vglavnyy Would you please add Python tests for this? |
|
@rw Added. |
9bfe4d6 to
361f34a
Compare
|
@vglavnyy Python tests LGTM. |
|
@vglavnyy We probably need Java and C# tests too, although I don't know those codebases as well, so @aardappel would know better. |
|
@rw С++, C#, Java are tested at compile time with include/import directives. |
aardappel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Yes, this looks sufficiently tested at compile time to me.
8e21595 to
9c7c346
Compare
|
Thanks! |
* Add default NaN/Inf to C#, Java, Python * Python NaN/Inf test added * Remove MSVC2010/13 dependent code
This PR extend support of default NaN and Inf values (#5102).
These default numbers can be added to other languages using
SimpleFloatConstantGenerator(Pyhton) andTypedFloatConstantGenerator(C++, C#).