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

It does use sqrt(number), just not directly. Instead of taking sqrt(number), it just calculates i*i which is much faster.


D'oh, you're 100% correct!




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

Search: