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