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.

Note

Values of arg smaller than or equal to zero result in a run-time error.

Copyright © 2007-2011 ARM. All rights reserved.ARM DUI 0371J
Non-ConfidentialID051712