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

When you're talking about computer systems, it's pretty normal for a bit to represent an order of magnitude.

Even the Wikipedia page makes reference to this: https://en.wikipedia.org/wiki/Order_of_magnitude

"Similarly, if the reference value is one of some powers of 2, since computers store data in a binary format, the magnitude can be understood in terms of the amount of computer memory needed to store that value. "

int(log2(n)) is a perfectly acceptable order of magnitude, especially when considering computers, at least to me.



Hahaha yes I'm sure that's what they meant.




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

Search: