News for hackers. Stuff that matters.
Re:Everyone is using modulo wrong by WantonQuantum on Monday August 12, 2024 @11:32PM (#41231952)
I suspect that many people of HN are well aware of this and are using modulo correctly. I know I am.
Re:Everyone is using modulo wrong by felipec on Tuesday August 13, 2024 @02:13AM (#41232780)
I doubt it. Do you have an example of public code using modulo with negative numbers correctly?