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
When using an `int`, we need to do a double conversion, first to `float`
and then back to `int`, and due to rounding errors, this means there are
inconsistencies between the expected and actual values.
Using `float` directly ensures we are comparing the same values in the
tests and in the code.
Signed-off-by: Leandro Lucarella <[email protected]>
0 commit comments