phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
bitsNeeded.bitsNeeded
nxt
bit_traits
bitsNeeded
Undocumented in source.
enum
bitsNeeded
;
enum
bitsNeeded
;
enum
bitsNeeded
;
enum
bitsNeeded
;
enum
bitsNeeded
;
enum
bitsNeeded
;
enum
bitsNeeded
;
enum
bitsNeeded
;
enum
bitsNeeded
;
template
bitsNeeded
(size_t length)
static if
(!(
length <= 2
))
static if
(!(
length <= 4
))
static if
(!(
length <= 8
))
static if
(!(
length <= 16
))
static if
(!(
length <= 32
))
static if
(!(
length <= 64
))
static if
(!(
length <= 128
))
static if
(!(
length <= 256
))
static if
(
length <= 512
)
enum
bitsNeeded
=
9
;
Meta
Source
See Source File
nxt
bit_traits
bitsNeeded
manifest constants
bitsNeeded