RoundUp

nn::math::RoundUp Function

Syntax

template <typename T>
T RoundUp(
     T x,
     u32 base
);

void * RoundUp(
     void * x,
     u32 base
);

const void * RoundUp(
     const void * x,
     u32 base
);

List of Overloaded Member Functions

RoundUp(T, u32) Rounds a value up so it is a multiple of the specified value.
RoundUp(void *, u32) Rounds a value up so it is a multiple of the specified value.
RoundUp(const void *, u32) Rounds a value up so it is a multiple of the specified value.

Description of RoundUp(T, u32)

Description of RoundUp(void *, u32)

Description of RoundUp(const void *, u32)


CONFIDENTIAL