Hackaday (unofficial) February 7, 2023 5:00pm Count Leading Zeros for Efficient Logarithms #digitalaudiohacks #softwaredevelopment #algorithms #countleadingzeros #dsp #logarithms #hackaday posted by pod_feeder_v2 Count Leading Zeros For Efficient Logarithms [Ihsan Kehribar] points out a clever trick you can use to quickly and efficiently compute the logarithm of a 32-bit integer. The technique relies on the CLZ instruction which counts the number of l…