module watt.math.integer
Integer maths functions.
Code Map
//! Integer maths functions.
module watt.math.integer;
//! Returns the log2 fo the given unsigned integer, does not throw on 0.
fn log2(x: u32) u32 { }
//! Returns the absolute value of a signed integer.
fn abs(x: i32) i32 { }
fn log2(x: u32) u32
Returns the log2 fo the given unsigned integer, does not throw on 0.
fn abs(x: i32) i32
Returns the absolute value of a signed integer.