/
MATH_ROUND_INC_UP_PWR2()
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.
Related content
MATH_ROUND_INC_UP()
MATH_ROUND_INC_UP()
More like this
Math_RandSeed()
Math_RandSeed()
More like this
Math_Rand()
Math_Rand()
More like this
DEF_ABS()
DEF_ABS()
More like this
Str_FmtNbr_32()
Str_FmtNbr_32()
More like this
DEF_BIT_TOGGLE()
DEF_BIT_TOGGLE()
More like this