utils

Undocumented in source.

Modules

io
module utils.io
Undocumented in source.

Members

Functions

isPowerOfTwo
bool isPowerOfTwo(T x)

Returns whether the specified value is a power of two

roundDownToMultiple
T roundDownToMultiple(T numToRound, T multOf)

Rounds a value down to a multiple

roundUpToMultiple
T roundUpToMultiple(T numToRound, T multOf)

Rounds value up to a multiple

Meta