Same as the unsigned int overload.

Synopsis

Declared in <bdlb_bitutil.h>

static
unsigned long long
roundUpToBinaryPower(unsigned long long value);

Return Value

least power of 2 not less than value, or 0 on failure

Parameters

Name

Description

value

value to round up to a power of 2

Created with MrDocs