1
Fork 0

Remove Signed trait and add SignedInt trait

The methods have been moved into Float and SignedInt
This commit is contained in:
Brendan Zabarauskas 2014-11-13 00:02:42 +11:00
parent e965ba85ca
commit de938b6ca1
26 changed files with 179 additions and 130 deletions

View file

@ -23,9 +23,8 @@ use option::Option;
#[cfg(test)] use ops::{Add, Sub, Mul, Div, Rem};
pub use core::num::{Num, div_rem, Zero, zero, One, one};
pub use core::num::{Signed, abs, signum};
pub use core::num::{Unsigned, pow, Bounded};
pub use core::num::{Primitive, Int, UnsignedInt};
pub use core::num::{Primitive, Int, SignedInt, UnsignedInt};
pub use core::num::{cast, FromPrimitive, NumCast, ToPrimitive};
pub use core::num::{next_power_of_two, is_power_of_two};
pub use core::num::{checked_next_power_of_two};