http://qs321.pair.com?node_id=1210903


in reply to Re^5: Portability of floor(log(N))
in thread Portability of floor(log(N))

log10(1000) will never change, and is exactly 3, so there's no reason not to use it