3.7.5 ld()

int ld(int arg)
The binary logarithm function returns the bit position of the most significant bit of the arg that is set to one.


Values of arg smaller than or equal to zero result in a run-time error.
Non-ConfidentialPDF file icon PDF versionARM DUI0840C
Copyright © 2014, 2015 ARM. All rights reserved.