Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 426 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 426 Bytes

Integer cube root

This module contains the single trait IntegerCubeRoot and implements it for primitive integer types.

Based on integer-sqrt.

ci badge

Example

// `use` trait to get functionality
use integer_cbrt::IntegerCubeRoot;

assert_eq!(8u8.integer_cbrt(), 2);