Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: