Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Everyone is using modulo wrong
(
felipec.wordpress.com
)
1 point
by
thunderbong
on Aug 13, 2024
|
hide
|
past
|
favorite
|
2 comments
WantonQuantum
on Aug 13, 2024
[–]
I suspect that many people of HN are well aware of this and are using modulo correctly. I know I am.
felipec
on Aug 13, 2024
|
parent
[–]
I doubt it. Do you have an example of public code using modulo with negative numbers correctly?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: