3 releases
Uses old Rust 2015
0.1.2 | Mar 5, 2021 |
---|---|
0.1.1 | Mar 5, 2021 |
0.1.0 | Mar 5, 2021 |
#2606 in Algorithms
160 downloads per month
Used in 2 crates
7KB
130 lines
Integer cube root
This module contains the single trait IntegerCubeRoot
and implements it
for primitive integer types.
Based on integer-sqrt.
Example
// `use` trait to get functionality
use integer_cbrt::IntegerCubeRoot;
assert_eq!(8u8.integer_cbrt(), 2);
lib.rs
:
This module contains the single trait IntegerCubeRoot
and implements it for primitive
integer types.
Example
extern crate integer_cbrt;
// `use` trait to get functionality
use integer_cbrt::IntegerCubeRoot;
assert_eq!(8u8.integer_cbrt(), 2);
Dependencies
~150KB