roundUp overloads
Synopses
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);
Same as the unsigned int overload.
static
unsigned long
roundUp(
unsigned long value,
unsigned long boundary);
Same as the unsigned int overload.
static
unsigned long long
roundUp(
unsigned long long value,
unsigned long long boundary);
Return Value
least multiple of boundary not less than value, or 0
Parameters
Name |
Description |
value |
value to round up |
boundary |
power‐of‐two alignment boundary |
Created with MrDocs