rust/src
bors 80bf31dd51 Auto merge of #23549 - aturon:stab-num, r=alexcrichton
This commit stabilizes the `std::num` module:

* The `Int` and `Float` traits are deprecated in favor of (1) the
  newly-added inherent methods and (2) the generic traits available in
  rust-lang/num.

* The `Zero` and `One` traits are reintroduced in `std::num`, which
  together with various other traits allow you to recover the most
  common forms of generic programming.

* The `FromStrRadix` trait, and associated free function, is deprecated
  in favor of inherent implementations.

* A wide range of methods and constants for both integers and floating
  point numbers are now `#[stable]`, having been adjusted for integer
  guidelines.

* `is_positive` and `is_negative` are renamed to `is_sign_positive` and
  `is_sign_negative`, in order to address #22985

* The `Wrapping` type is moved to `std::num` and stabilized;
  `WrappingOps` is deprecated in favor of inherent methods on the
  integer types, and direct implementation of operations on
  `Wrapping<X>` for each concrete integer type `X`.

Closes #22985
Closes #21069

[breaking-change]

r? @alexcrichton
2015-03-31 14:50:46 +00:00
..
compiler-rt@58ab642c30
compiletest
doc Rollup merge of #23869 - tshepang:more-complete-builder-pattern-example, r=alexcrichton 2015-03-31 09:04:39 +05:30
driver
etc
grammar
jemalloc@e24a1a025a
liballoc Auto merge of #23549 - aturon:stab-num, r=alexcrichton 2015-03-31 14:50:46 +00:00
libarena
libbacktrace
libcollections Auto merge of #23549 - aturon:stab-num, r=alexcrichton 2015-03-31 14:50:46 +00:00
libcollectionstest
libcore Auto merge of #23549 - aturon:stab-num, r=alexcrichton 2015-03-31 14:50:46 +00:00
libcoretest std: Standardize (input, output) param orderings 2015-03-30 14:08:40 -07:00
libflate
libfmt_macros
libgetopts
libgraphviz
liblibc
liblog
librand Auto merge of #23549 - aturon:stab-num, r=alexcrichton 2015-03-31 14:50:46 +00:00
librbml Auto merge of #23549 - aturon:stab-num, r=alexcrichton 2015-03-31 14:50:46 +00:00
librustc Auto merge of #23549 - aturon:stab-num, r=alexcrichton 2015-03-31 14:50:46 +00:00
librustc_back Auto merge of #23549 - aturon:stab-num, r=alexcrichton 2015-03-31 14:50:46 +00:00
librustc_bitflags
librustc_borrowck Rollup merge of #23859 - pnkfelix:fsk-lesser-box, r=nikomatsakis 2015-03-31 09:04:38 +05:30
librustc_driver
librustc_lint Auto merge of #23549 - aturon:stab-num, r=alexcrichton 2015-03-31 14:50:46 +00:00
librustc_llvm
librustc_privacy
librustc_resolve
librustc_trans Auto merge of #23549 - aturon:stab-num, r=alexcrichton 2015-03-31 14:50:46 +00:00
librustc_typeck Auto merge of #23549 - aturon:stab-num, r=alexcrichton 2015-03-31 14:50:46 +00:00
librustdoc Rollup merge of #23846 - rayglover:patch-rustdoc-stderr, r=alexcrichton 2015-03-31 09:04:37 +05:30
libserialize Stabilize std::num 2015-03-31 07:50:25 -07:00
libstd Auto merge of #23549 - aturon:stab-num, r=alexcrichton 2015-03-31 14:50:46 +00:00
libsyntax Auto merge of #23549 - aturon:stab-num, r=alexcrichton 2015-03-31 14:50:46 +00:00
libterm
libtest Stabilize std::num 2015-03-31 07:50:25 -07:00
libunicode Stabilize std::num 2015-03-31 07:50:25 -07:00
llvm@bff6907697
rt
rust-installer@49cc7f6fef
rustbook
rustllvm
test Auto merge of #23549 - aturon:stab-num, r=alexcrichton 2015-03-31 14:50:46 +00:00
snapshots.txt