Commit Graph

153 Commits

Author SHA1 Message Date
mitchmindtree e3557d61e7 Use latest rustc-serialize and increment version for crates.io 2015-04-24 04:11:12 +10:00
Alex Crichton cfe5ac956b Merge pull request #85 from mitchmindtree/master
Removed deprecation attributes that can no longer be used outside of std
2015-04-22 07:35:16 -07:00
mitchmindtree f70a07bab7 Incremented version for crates.io 2015-04-22 22:27:51 +10:00
mitchmindtree f0af39dfae Removed deprecation attributes that can no longer be used outside of std 2015-04-22 22:27:20 +10:00
Alex Crichton eeeaaf2407 Merge pull request #82 from nham/improve_bigint_docs
Improve bigint docs.
2015-04-15 13:50:55 -07:00
Nick Hamann 82aa7c7864 Improve bigint docs.
Convert instances of <string literal>.as_bytes() to byte string
literals. Also, add examples for from_bytes_le() and to_bytes_be().
2015-04-15 14:46:07 -05:00
Alex Crichton 44dfed32b7 Bump to 0.1.22 2015-04-04 23:49:41 -07:00
Alex Crichton 7861e4c6da Merge pull request #78 from kennytm/master
impl PrimInt for primitive types, and remove some unstable features.
2015-04-04 23:46:03 -07:00
kennytm fd86a2c531 Make sure PrimInt is actually implemented for the primitive types. 2015-04-05 03:10:40 +08:00
kennytm 24d2f15ccf Avoid and remove some unstable features.
The only #[feature] left for now is the bencher.
2015-04-05 03:09:29 +08:00
Alex Crichton 80b6f92c4e Merge pull request #77 from andersk/complex-neg
Require Neg for Complex conj and inv
2015-04-03 14:04:11 -07:00
Anders Kaseorg 7fb887bffc Require Neg for Complex conj and inv
If T is an unsigned integer type, these methods are guaranteed to
overflow unless the result is actually real, so we should disallow
them for the same reason that Neg was removed from these types.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2015-04-03 15:10:44 -04:00
Alex Crichton 24b7793174 Bump to 0.1.21 2015-04-03 10:26:45 -07:00
Alex Crichton 996128bd4b Fix some doc tests 2015-04-03 10:26:37 -07:00
Alex Crichton f2cecb0fda Merge pull request #76 from aturon/beta-fixes
Update to 1.0.0-beta (stable only)
2015-04-03 10:23:07 -07:00
Aaron Turon 63c7a25ed9 Update to 1.0.0-beta (stable only)
Along the way, this commit also rationalizes the traits a bit more.

Moving to stable required vendoring a couple of minor things (notably,
radix formatting).
2015-04-03 10:17:39 -07:00
Alex Crichton 1579bf64f0 Merge pull request #75 from aturon/master
Vendor deprecated/unstable traits from std::num
2015-04-02 20:28:11 -07:00
Aaron Turon 03db5c9d1b Vendor deprecated/unstable traits from std::num
This commit brings in a load of unstable and/or deprecated traits from
the `std::num` module. These traits provide for some degree of generic
programming over numeric types. They are not stable in `std` mostly
because we want more time to iterate on their design. Moving them to the
`num` crate allows existing code to keep using this functionality as we
do so.

Closes #74
2015-04-02 20:04:38 -07:00
Alex Crichton 32d15093b0 Bump to 0.1.20 2015-04-02 09:37:41 -07:00
Alex Crichton fcd3760625 Get tests passing again 2015-04-02 09:37:32 -07:00
Alex Crichton 69afe1a3c6 Merge pull request #73 from andersk/fromerror
Replace FromError with From
2015-04-02 09:22:55 -07:00
Anders Kaseorg a00fe8b700 Replace FromError with From
As per https://github.com/rust-lang/rust/pull/23879.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2015-04-02 06:37:57 -04:00
Alex Crichton 1841c8ace4 Update to rust master 2015-03-29 10:05:02 -07:00
Alex Crichton 0fa0b75e68 Bump to 0.1.19 2015-03-26 11:52:27 -07:00
Alex Crichton 3eac309a0a Merge pull request #70 from nstoddard/master
Update to new version of 'rand'. Fixes compilation on Windows.
2015-03-26 11:52:13 -07:00
Nathan Stoddard efe8adf144 Update to new version of 'rand'. Fixes compilation on Windows. 2015-03-26 14:32:33 -04:00
Huon Wilson 1558f944ff Bump to 0.1.18. 2015-03-26 12:00:49 +11:00
Huon Wilson c21b7e17d4 Feature gating is strict now. 2015-03-26 12:00:36 +11:00
Matt Brubeck 81a16f4a83 rustc-serialize is now rustc_serialize 2015-03-25 17:48:52 -07:00
Huon Wilson 8e69c54e1b Bump to 0.1.17.
Closes #68.
2015-03-23 22:04:59 +11:00
Alex Crichton 445fbab108 Fix doc test 2015-03-22 10:43:11 -07:00
Alex Crichton 9848257eae Update to rust master 2015-03-19 09:57:18 -07:00
Alex Crichton bc9698c504 Merge pull request #67 from jbcrail/replace-range
Replace deprecated range function.
2015-03-18 23:27:48 -07:00
Joseph Crail 5a0835d5d7 Replace deprecated range function. 2015-03-19 00:15:55 -04:00
Alex Crichton 575cc09136 Bump to 0.1.16 2015-03-17 23:57:51 -07:00
Alex Crichton ab79063c22 Merge pull request #66 from freebroccolo/master
Update dependencies; fix build; silence warnings
2015-03-17 23:57:54 -07:00
Darin Morrison 2ef6c1057c Fix warnings in pidigits benchmark 2015-03-17 22:22:06 -06:00
Darin Morrison 8ea4c031dd Replace #[should_fail] with #[should_panic] 2015-03-17 22:21:25 -06:00
Darin Morrison 2086b40893 Update rand and rustc-serialize deps to fix build 2015-03-17 22:12:59 -06:00
Alex Crichton 65226fdd06 Merge pull request #65 from cuviper/pow-overflow
pow: avoid unnecessary overflows
2015-03-08 10:50:41 -07:00
Josh Stone 043a5b2918 pow: avoid unnecessary overflows
The code was performing an extra squaring of the base, which might
trigger an arithmetic overflow that doesn't matter to the result.  Now
this squaring is only attempted when enough exp remains to need it.

A new doctest tries pow(6u8, 3), where an extra square would exceed 256.
2015-03-07 14:12:50 -08:00
Alex Crichton fbd7d81b44 Bump to 0.1.15 2015-03-04 09:45:28 -08:00
Alex Crichton 817dec99aa Remove usage of deprecated apis 2015-03-04 09:45:19 -08:00
Steve Jahns fb6b4ae9df Rust nightly needs explicit cast from u32 to usize 2015-03-04 09:43:44 -07:00
Alex Crichton 7c203e27d3 Bump to 0.1.14 2015-02-20 10:51:02 -08:00
Alex Crichton a1e6e30668 Merge pull request #62 from cybergeek94/master
Upgrade to latest Rust
2015-02-20 10:50:15 -08:00
Austin Bonander f260a7f565 Upgrade to latest Rust 2015-02-20 10:37:11 -08:00
Huon Wilson 92ef1a4b66 Bump to 0.1.13. 2015-02-19 12:47:45 +11:00
Huon Wilson 6adaa4de8f Merge #61. 2015-02-19 12:46:57 +11:00
Huon Wilson 2a3f2f060d Fix test. 2015-02-19 12:46:43 +11:00