Nebula
|
#include <round.h>
Static Public Member Functions | |
static uint | RoundUp2 (uint val) |
round up to nearest 2 bytes boundary | |
static uint | RoundUp4 (uint val) |
round up to nearest 4 bytes boundary | |
static uint | RoundUp8 (uint val) |
round up to nearest 8 bytes boundary | |
static uint | RoundUp16 (uint val) |
round up to nearest 16 bytes boundary | |
static uint | RoundUp32 (uint val) |
round up to nearest 32 bytes boundary | |
static uint | RoundUp (uint val, uint boundary) |
generic roundup | |