Expand description
Simple math utilities.
Structs§
- Simple two-dimensional vector of any numerical type. Supports only few mathematical operations as this is used mainly as data struct.
Enums§
- Round up or down in specific calculations.
Functions§
- Computes
ceil(log(x)/log(2))
. Returns 0 where argument is 0. - Computes
floor(log(x)/log(2))
. Returns 0 where argument is 0.