Merge #61.
This commit is contained in:
commit
6adaa4de8f
|
@ -44,7 +44,7 @@
|
||||||
//!
|
//!
|
||||||
//! [newt]: https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method
|
//! [newt]: https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method
|
||||||
|
|
||||||
#![feature(slicing_syntax, collections, core, hash, std_misc)]
|
#![feature(collections, core, hash, std_misc)]
|
||||||
#![cfg_attr(test, deny(warnings))]
|
#![cfg_attr(test, deny(warnings))]
|
||||||
#![cfg_attr(test, feature(test))]
|
#![cfg_attr(test, feature(test))]
|
||||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||||
|
|
|
@ -283,8 +283,8 @@ bounded_impl!(i16, i16::MIN, i16::MAX);
|
||||||
bounded_impl!(i32, i32::MIN, i32::MAX);
|
bounded_impl!(i32, i32::MIN, i32::MAX);
|
||||||
bounded_impl!(i64, i64::MIN, i64::MAX);
|
bounded_impl!(i64, i64::MIN, i64::MAX);
|
||||||
|
|
||||||
bounded_impl!(f32, f32::MIN_VALUE, f32::MAX_VALUE);
|
bounded_impl!(f32, f32::MIN, f32::MAX);
|
||||||
bounded_impl!(f64, f64::MIN_VALUE, f64::MAX_VALUE);
|
bounded_impl!(f64, f64::MIN, f64::MAX);
|
||||||
|
|
||||||
/// Saturating math operations
|
/// Saturating math operations
|
||||||
pub trait Saturating {
|
pub trait Saturating {
|
||||||
|
|
Loading…
Reference in New Issue