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

Yep, it was a long time ago but I think that's exactly what we ended up with, eventually: An int type of unit 2π/(int range). I believe we used unsigned because signed int overflow is undefined behavior.


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

Search: