6 ms·
Or you can use the `bc` that's shipped with macOS. echo 'l(f(52))/l(2)' | bc -l 225.58100312370276194868 (`l(x)` is natural log, hence the `/l(2)` to
by zimpenfish 3y ago
Or you can use the `bc` that's shipped with macOS.
echo 'l(f(52))/l(2)' | bc -l
225.58100312370276194868
(`l(x)` is natural log, hence the `/l(2)` to convert to `log2`)
Annoyingly, GNU `bc` doesn't have `f(x)`.