Y
Hacker News
new
|
ask
|
show
|
jobs
by
jwilk
2852 days ago
This should be slightly more efficient:
lnn = n * ln(2)
1 comments
ColinWright
2852 days ago
It is, but not everyone is comfortable with why that is true, hence leaving it the way I did.
But you're right, it would otherwise be an appropriate simplification.
link
But you're right, it would otherwise be an appropriate simplification.