1
Fork 0

Add Saturating type (based on Wrapping type)

This commit is contained in:
Michael Watzko 2021-08-10 19:22:06 +02:00
parent ae90dcf020
commit 709a6c913e
4 changed files with 821 additions and 0 deletions

View file

@ -12,6 +12,8 @@ mod tests;
#[cfg(test)]
mod benches;
#[unstable(feature = "saturating_int_impl", issue = "87920")]
pub use core::num::Saturating;
#[stable(feature = "rust1", since = "1.0.0")]
pub use core::num::Wrapping;
#[stable(feature = "rust1", since = "1.0.0")]