5 releases
Uses old Rust 2015
0.1.5  Sep 9, 2020 

0.1.4 

0.1.3  Jan 24, 2020 
0.1.2  Oct 30, 2018 
0.1.0  Oct 23, 2017 
#81 in Algorithms
236,513 downloads per month
Used in 865 crates
(25 directly)
7KB
108 lines
Integer square root
This module contains the single trait IntegerSquareRoot
and implements it
for primitive integer types.
Example
// `use` trait to get functionality
use integer_sqrt::IntegerSquareRoot;
assert_eq!(4u8.integer_sqrt(), 2);
lib.rs
:
This module contains the single trait IntegerSquareRoot
and implements it for primitive
integer types.
Example
extern crate integer_sqrt;
// `use` trait to get functionality
use integer_sqrt::IntegerSquareRoot;
assert_eq!(4u8.integer_sqrt(), 2);
Dependencies
~155KB