template <typename ValueT>
ValueT RoundUp(
ValueT x,
unsigned int base
);
| Name | Description | |
|---|---|---|
| in | x | Number to be rounded up. |
| in | base | Value used as the basis for rounding up. Must be a power of two. |
Rounds x up to a multiple of base.
CONFIDENTIAL