2 ms·
This should be slightly more efficient: lnn = n * ln(2)
by jwilk 8y ago
This should be slightly more efficient:
lnn = n * ln(2)
- ColinWright 8y agoIt 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.