Hacker News new | past | comments | ask | show | jobs | submit login

For old-school software developers 4*8 is easy because both numbers are powers of 2. I compute expressions like that as 2 ^ ( log2(4) + log2(8) ) = 2^(2+3) = 2^5



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

Search: