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
Describe the bug
Source of truth: https://en.wikipedia.org/wiki/Rounding (I'm not expert in rounding so if there's something better, tell me)
In this source I can read that the rounding "half to even" of 0.5 should be 0. That's not the case, in pseudo-code I have:
roundHalfToEven(0.5, scale = 0) = 1 // Should be 0
Describe the bug
Source of truth: https://en.wikipedia.org/wiki/Rounding (I'm not expert in rounding so if there's something better, tell me)
In this source I can read that the rounding "half to even" of 0.5 should be 0. That's not the case, in pseudo-code I have:
To Reproduce
This test is failing:
Expected behavior
roundHalfToEven(0.5, scale = 0) == 0
Platform
The text was updated successfully, but these errors were encountered: