MATH_ROUND_INC_UP_PWR2()
Round value up to the next (power of 2) increment.
Files
lib_math.h
Prototype
MATH_ROUND_INC_UP_PWR2(nbr, inc)
Arguments
nbr
Value to round.
inc
Increment to use. MUST be a power of 2.
Returned Value
Rounded up value.
Required Configuration
None.
Notes / Warnings
None.