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

> n * ~(n & 1)

This term results in huge numbers. Do you mean n * ((~n)&1)) ?



My bad. Thanks for pointing it out.




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

Search: