This module contains the single trait IntegerCubeRoot
and implements it
for primitive integer types.
Based on integer-sqrt.
// `use` trait to get functionality
use integer_cbrt::IntegerCubeRoot;
assert_eq!(8u8.integer_cbrt(), 2);
Integer cube root algorithm implemented for Rust integer primitives
RustGPL-3.0
This module contains the single trait IntegerCubeRoot
and implements it
for primitive integer types.
Based on integer-sqrt.
// `use` trait to get functionality
use integer_cbrt::IntegerCubeRoot;
assert_eq!(8u8.integer_cbrt(), 2);