You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm going to guess that this is a floating point precision issue and the best representation of 1.132 is in fact 1.1320000000000001, so the latter is actually the rounded value. Worth looking into though.
This seems like an expected behavior due to how floating point representation works in binary. There is no exact binary representation for the decimal 1.132, it seems. Try it in https://www.h-schmidt.net/FloatConverter/IEEE754.html.
There are also some known differences between cudf and pandas in how we print floats.
Describe the bug
round
method seems to be returning the actual value for the following inputs.Steps/Code to reproduce bug
Expected behavior
Environment overview (please complete the following information)
The text was updated successfully, but these errors were encountered: