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