fast v0.3.0 (2015-10-12T17:18:18Z)
Home
Dub
Repo
isPowerOf2
fast
helpers
Returns whether the (positive) argument is an integral power of two.
@
nogc
@
safe
pure nothrow @
property
bool
isPowerOf2
(
in
size_t
n
)
Meta
Source
See Implementation
fast
helpers
enums
forceinline
noinline
sse4
functions
alignPtrNext
bsf
bsr
clz
ctfeJoin
getUDA
main
moveMask
manifest constants
hasSSE2
isAMD64
isDMD
isGDC
isLDC
isPosix
isRelease
isX86
properties
isPowerOf2
templates
FieldNameTuple
SIMDFromScalar
SIMDFromString
UnsignedOf
Returns whether the (positive) argument is an integral power of two.