ddc v0.0.4+2.094.1 (2020-11-01T06:34:21Z)
Dub
Repo
ispow2
dmd
backend
util2
If c is a power of 2, return that power else -1.
extern (
C
++) nothrow
int
ispow2
(
uint64_t
c
)
Meta
Source
See Implementation
dmd
backend
util2
aliases
_controlc_handler_t
functions
_STD_controlc
_STI_controlc
binary
controlc_close
controlc_open
err_break
err_exit
file_progress
ispow2
mem_malloc2
ph_calloc
ph_free
ph_malloc
ph_realloc
printInternalFailure
util_assert
util_calloc
util_exit
util_free
util_malloc
util_progress
util_realloc
manifest constants
MEM_DEBUG
UTIL_PH
static variables
_controlc_handler
controlc_saw
If c is a power of 2, return that power else -1.