Skip to content

Integer cube root algorithm implemented for Rust integer primitives

License

Notifications You must be signed in to change notification settings

maurolacy/integer-cbrt-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);

About

Integer cube root algorithm implemented for Rust integer primitives

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages