Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
adamnemecek
on Oct 21, 2018
|
parent
|
context
|
favorite
| on:
Mod Function and Negative Numbers (2000)
The problem is that you need to have a conditional to figure out if I is negative or not. With modulo it’s all the same.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: