roundUp overloads
Declared in <bdlb_bitutil.h>
Return the least multiple of boundary not less than value.
static
unsigned int
roundUp(
unsigned int value,
unsigned int boundary);
» more...
Same as the unsigned int overload.
static
unsigned long
roundUp(
unsigned long value,
unsigned long boundary);
» more...
Same as the unsigned int overload.
static
unsigned long long
roundUp(
unsigned long long value,
unsigned long long boundary);
» more...
least multiple of boundary not less than value, or 0
| Name | Description |
|---|---|
| value | value to round up |
| boundary | power-of-two alignment boundary |