Files
ladybird/Userland/Libraries/LibJS/Runtime/MathObject.cpp
Idan Horowitz a939ffc617 LibJS: Handle values close to -0.5 correctly in Math.round(x)
This is done by just using the built-in ceiling and subtracting from
the result if its in the 0.5 range.
2021-06-28 01:19:11 +01:00

20 KiB