Everyone is using modulo wrong(felipec.wordpress.com)
felipec.wordpress.com
Everyone is using modulo wrong
https://felipec.wordpress.com/2024/08/11/everyone-is-using-modulo-wrong/
2 comments
I suspect that many people of HN are well aware of this and are using modulo correctly. I know I am.
I doubt it. Do you have an example of public code using modulo with negative numbers correctly?