phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
clz
nxt
clz
Undocumented in source. Be warned that the author may not have intended to support it.
U
clz
(U u)
uint
clz
(U u)
alias
clz
=
__builtin_clz
uint
clz
(ulong u)
alias
clz
=
__builtin_clzl
U
clz
(U u)
version(!DigitalMars && !GNU && LDC)
pragma(
inline
, true) @
safe
@
nogc
pure nothrow
U
clz
(
U
)
(
U
u
)
if
(
is
(
Unqual
!
U
==
uint
) ||
is
(
Unqual
!
U
==
size_t
)
)
uint
clz
(U u)
Meta
Source
See Implementation
nxt
clz
aliases
bsf
bsr
functions
clz