-
Notifications
You must be signed in to change notification settings - Fork 902
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
Fix java float/double parsing tests [skip ci] #7473
Fix java float/double parsing tests [skip ci] #7473
Conversation
…orrectly handles inf and nan.
…sue-5225 # Conflicts: # cpp/benchmarks/CMakeLists.txt
… fix_double_parse_tests
…sue-5225 # Conflicts: # cpp/benchmarks/CMakeLists.txt
… fix_double_parse_tests
…sue-5225 # Conflicts: # cpp/benchmarks/CMakeLists.txt
… fix_double_parse_tests
…sue-5225 # Conflicts: # cpp/benchmarks/CMakeLists.txt
…rk.cpp Co-authored-by: David <[email protected]>
… fix_double_parse_tests
Codecov Report
@@ Coverage Diff @@
## branch-0.19 #7473 +/- ##
===============================================
+ Coverage 81.80% 82.28% +0.47%
===============================================
Files 101 101
Lines 16695 17247 +552
===============================================
+ Hits 13658 14191 +533
- Misses 3037 3056 +19
Continue to review full report at Codecov.
|
@gpucibot merge |
"1.7976931348623159E308", | ||
"-1.7976931348623157E308", | ||
// Current CUDF Code does not detect overflow for this. "-1.7976931348623158E308", | ||
// So we make it a little larger for this test |
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.
smaller?
This is a part of #7410 and depends on it. The java tests when they were first written, for what ever reason, did not use the correct string representation for several values including double max. They ended up testing that the code was broken, which is not the right thing to do. This updates those to have the correct values, but also has a comment about why the ideal value to test for overflow into
Inf
and-Inf
is not ideal, but is a work around for small issues with the parsing code still.