Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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.

  • No labels