Name: integer-sqrt-rs
Owner: Parity Technologies
Description: Integer square root algorithm implemented for rust integer primitives
Created: 2018-03-02 13:56:36.0
Updated: 2018-05-14 15:16:04.0
Pushed: 2018-05-14 15:16:03.0
Homepage: null
Size: 9
Language: Rust
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This module contains the single trait IntegerSquareRoot
and implements it
for primitive integer types.
rn crate integer_sqrt;
use` trait to get functionality
integer_sqrt::IntegerSquareRoot;
rt_eq!(4u8.integer_sqrt(), 2);