Module std::uint

Operations and constants for uint

Reexports

pub use self::generated::*;

Modules

generated

Functions

div_ceil

Divide two numbers, return the result, rounded up.

div_floor

Divide two numbers, return the result, rounded down.

div_round

Divide two numbers, return the result, rounded to the closest integer.

next_power_of_two

Returns the smallest power of 2 greater than or equal to n

next_power_of_two_opt

Returns the smallest power of 2 greater than or equal to n