rust/src/libstd/num
OGINO Masanori b4d6ae5bb8 Remove redundant Ord method impls.
Basically, generic containers should not use the default methods since a
type of elements may not guarantees total order. str could use them
since u8's Ord guarantees total order. Floating point numbers are also
broken with the default methods because of NaN. Thanks for @thestinger.

Timespec also guarantees total order AIUI. I'm unsure whether
extra::semver::Identifier does so I left it alone. Proof needed.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2013-08-09 14:28:14 +09:00
..
cmath.rs librustc: Disallow "unsafe" for external functions 2013-08-02 21:57:59 -07:00
f32.rs Replaces the free-standing functions in f32, &c. 2013-07-08 18:05:17 +02:00
f64.rs std: add missing #[inline] annotation to the f64 arithmetic trait impls. 2013-08-07 22:41:14 -04:00
float.rs Replaces the free-standing functions in f32, &c. 2013-07-08 18:05:17 +02:00
i8.rs replace #[inline(always)] with #[inline]. r=burningtree. 2013-06-18 14:48:48 -07:00
i16.rs replace #[inline(always)] with #[inline]. r=burningtree. 2013-06-18 14:48:48 -07:00
i32.rs replace #[inline(always)] with #[inline]. r=burningtree. 2013-06-18 14:48:48 -07:00
i64.rs replace #[inline(always)] with #[inline]. r=burningtree. 2013-06-18 14:48:48 -07:00
int.rs rustc: add a lint to enforce uppercase statics. 2013-07-01 17:52:57 +10:00
int_macros.rs Remove redundant Ord method impls. 2013-08-09 14:28:14 +09:00
num.rs Add std::num::Saturating 2013-08-05 22:49:33 -07:00
strconv.rs Forbid priv where it has no effect 2013-08-07 22:41:12 -04:00
u8.rs Remove usage of the #[merge] hack with int modules 2013-05-24 15:31:34 -05:00
u16.rs Remove usage of the #[merge] hack with int modules 2013-05-24 15:31:34 -05:00
u32.rs Remove usage of the #[merge] hack with int modules 2013-05-24 15:31:34 -05:00
u64.rs Remove usage of the #[merge] hack with int modules 2013-05-24 15:31:34 -05:00
uint.rs std: Remove uint::iterate, replaced by range 2013-08-06 04:05:08 +02:00
uint_macros.rs Remove redundant Ord method impls. 2013-08-09 14:28:14 +09:00