Zen API
|
T kQuantizeCeil | ( | const T & | value, |
const T & | granularity | ||
) |
Rounds the specified input value up to the nearest multiple of the specified granularity.
This method requires C++ 2011; accordingly, it cannot be used in inline functions that may be processed by C compilers or older C++ compilers.
value | Input value. |
granularity | Granularity (quantum; must be positive). |