|
|
@ -70,7 +70,7 @@ namespace gp { |
|
|
|
return l + (((1 << l) ^ v) != 0); |
|
|
|
} |
|
|
|
|
|
|
|
static_assert(msb<uint32_t>(7) == 3, "bad log2"); |
|
|
|
static_assert(msb<uint32_t>(8) == 3, "bad log2"); |
|
|
|
static_assert(msb<uint32_t>(7) == 3, "bad msb"); |
|
|
|
static_assert(msb<uint32_t>(8) == 3, "bad msb"); |
|
|
|
} |
|
|
|
} |