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

I think that it can be implemented in constant time for floating point numbers. For integers I know that the exponentiation by squaring takes O(log(n))


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

Search: