The OpenD Programming Language

ctlzp

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

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

Meta