Commit Graph

273 Commits

Author SHA1 Message Date
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
Sam Payson 609c2e6ef0 Minor changes to silence warnings. 2015-02-18 16:41:28 -08:00
Sam Payson 6a0c32782e Change `radix` to u32, to build with new rustc. 2015-02-18 16:29:46 -08:00
Alex Crichton e2f0b0d327 Update to rust master 2015-02-05 08:20:16 -08:00
Alex Crichton 0811c72bac Bump to 0.1.12 2015-02-03 12:37:01 -08:00
Alex Crichton aadcbef4ba Merge pull request #58 from mbrubeck/nightly
Update to build with Rust 1.0.0-nightly
2015-02-03 14:36:49 -06:00
Matt Brubeck e68ea18edc Silence unstable feature warnings 2015-02-03 12:32:28 -08:00
Matt Brubeck 42edb63090 Update FromStr and FromStrRadix to return Result
Fixes build errors with Rust 1.0.0-nightly.
2015-02-03 12:31:10 -08:00
Matt Brubeck b324415930 Change Show to Debug
Fixes deprecation warning
2015-02-03 11:05:55 -08:00
Huon Wilson 14082ffb48 Bump to 0.1.11. 2015-02-02 12:22:57 +11:00
Gulshan Singh 7ba31bc3a7 Implemented from_bytes and to_bytes 2015-02-01 20:17:34 -05:00
Alex Crichton c05cd530db Bump to 0.1.10 2015-01-23 08:54:55 -08:00
Alex Crichton 51b94c5e2e Merge pull request #55 from gifnksm/patch-1
Bump to 0.1.9
2015-01-21 09:31:17 -06:00
NAKASHIMA, Makoto 5e49142e64 Bump to 0.1.9 2015-01-21 22:55:10 +09:00
Alex Crichton 8eb924340f Merge pull request #53 from gsingh93/master
Fixed some typos and added some examples
2015-01-21 00:58:05 -06:00
Gulshan Singh f1bfd76bbb Fixed some typos and added some examples 2015-01-20 19:25:02 -05:00
Alex Crichton f186a5b71f Merge pull request #52 from renato-zannon/rename-mod
Rename BigDigit module to big_digit
2015-01-20 13:27:47 -06:00
Renato Zannon 791264ddfc Rename BigDigit module to big_digit
Without this rename, the library fails to compile on Rust master, since rust-lang/rust#21269 has landed.
2015-01-20 17:17:43 -02:00
Alex Crichton bde434903d Merge pull request #47 from jbcrail/fix-deprecated-range
Remove range function.
2015-01-12 11:02:46 -06:00
Alex Crichton e4135528e8 Merge pull request #46 from jbcrail/fix-deprecated-int
Replace deprecated int references with i32/isize.
2015-01-12 11:02:34 -06:00
Joseph Crail d196c2b818 Remove range function.
For the pi benchmark, I replaced the range function with the new range
syntax.
2015-01-11 23:54:25 -05:00
Joseph Crail c42680d21e Replace deprecated int references with i32/isize.
I replaced most int refs with i32, and I used isize to hold the number
of default digits.
2015-01-11 23:51:02 -05:00
Alex Crichton cbf04cf664 Bump to 0.1.8 2015-01-09 14:02:01 -08:00
Alex Crichton 45f5cc39bd s/bigusize/biguint/ 2015-01-09 13:54:32 -08:00
Huon Wilson 139cf8cf66 Bump to 0.1.7. 2015-01-09 22:36:03 +11:00
Alex Crichton bfa91ee92a Bump to 0.1.6 2015-01-07 12:09:44 -08:00
Alex Crichton 431dd18aff Bump version number 2015-01-04 10:57:00 -08:00
Alex Crichton c1ad386c08 Merge pull request #45 from gifnksm/master
update to rust mater
2015-01-04 12:57:33 -06:00
gifnksm 8219095e39 update to rust mater 2015-01-05 01:59:44 +09:00
Alex Crichton ce93a10ed0 Finish update and bump version number 2015-01-03 13:52:06 -08:00
Sven Nilsen ae3bb3619c Upgrade to latest Rust
A `_0` test fails, but don’t know why
2015-01-03 19:30:05 +01:00