num::integer

Function nth_root

Source
pub fn nth_root<T>(x: T, n: u32) -> T
where T: Roots,
Expand description

Returns the truncated principal nth root of an integer – see Roots::nth_root.