The OpenD Programming Language

ctlz

The 'ctlz' family of intrinsic functions counts the number of leading zeros in a variable. Result is undefined if the argument is zero.

T
ctlz
(
T
)
(
in T src
)
if (
__traits(isUnsigned, T)
)

Meta