mulch
0.1.0
Module math
Module Items
Traits
Functions
In crate mulch
mulch
Module
math
Copy item path
Source
Traits
§
Power
OfTwoable
Functions
§
abs_
difference
align_
down
align_
up
ceiling_
integer_
divide
Divide
x
by
divide_by
, taking the ceiling if it does not divide evenly.
ceiling_
log2
flooring_
log2
Fast integer
log2
that floors to the lower power-of-2 if
x
is not a power-of-2.
x
must not be 0.