Round value up to the next (power of 2) increment.
Files
lib_math.h
Prototype
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
MATH_ROUND_INC_UP_PWR2(nbr, inc) |
Arguments
nbr
Value to round.
...
Round value up to the next (power of 2) increment.
lib_math.h
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
MATH_ROUND_INC_UP_PWR2(nbr, inc) |
nbr
Value to round.
...