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

Nontrivial yes, but it's not that complicated to figure out that floats are a piecewise linear approximation of the base 2 logarithm.

Edit: or base 2^k, depends a bit how you view it.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: