Add Saturating type (based on Wrapping type)
This commit is contained in:
parent
ae90dcf020
commit
709a6c913e
4 changed files with 821 additions and 0 deletions
|
@ -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")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue