Commit Graph

852 Commits

Author SHA1 Message Date
Steve Klabnik 253f0bd3f3 don't allow deprecated items.
We don't actually use any.
2014-12-07 13:22:01 -05:00
Steve Klabnik ecc2e5fab7 remove license attribute 2014-12-07 13:20:39 -05:00
Huon Wilson 16787045e5 Bump to 0.0.5. 2014-11-28 22:20:21 +11:00
Alex Crichton bc9f83e7d8 Merge pull request #34 from gifnksm/master
Update to iter stabilization.
2014-11-27 14:15:32 -06:00
gifnksm b20dda2307 Update to iter stabilization.
`AdditiveIterator::sum` and `MultiplicativeIterator::product` now take bare self.
2014-11-27 23:06:06 +09:00
Huon Wilson 8f8530fc00 Add keywords to cargo metadata. 2014-11-21 16:03:58 +11:00
Alex Crichton 39acd8f2fb Update tests to rust master 2014-11-20 12:21:06 -08:00
Alex Crichton 3e28201b00 Merge pull request #33 from steveklabnik/master
use crates.io in README
2014-11-20 14:13:56 -06:00
Steve Klabnik 104ccb4b03 use crates.io in README 2014-11-20 15:07:56 -05:00
Huon Wilson c7757ce7d9 Bump to 0.0.3. 2014-11-19 16:32:46 +11:00
Huon Wilson 712a4ae8b4 Add crates.io metadata to Cargo.toml. 2014-11-19 16:29:01 +11:00
Alex Crichton a8013fc60f Bump to 0.0.2 2014-11-18 21:26:43 -08:00
Alex Crichton d9fee8b585 Merge pull request #31 from gifnksm/master
Fix for namespaced enums.
2014-11-18 10:17:20 -06:00
gifnksm 233c02030d Fix for namespaced enums. 2014-11-18 21:09:53 +09:00
Alex Crichton c0df55e470 Merge pull request #30 from gifnksm/master
Add numeric functions and traits that provide numeric traits for generic mathematics.
2014-11-17 10:25:35 -06:00
gifnksm 29011d14d9 std::from_str::FromStr -> std::str::FromStr 2014-11-17 22:38:12 +09:00
gifnksm 3568298a22 Add `iter` modules for generic number iteration.
The codes are imported from the standard library.
2014-11-16 19:37:53 +09:00
gifnksm 2155e7d2ee Add numeric functions and `traits` module that provide numeric traits for generic
mathematcs.

Import numeric traits and functions that were removed from the standard library.
This also implements `AdditiveIterator` and `MultiplicativeIterator` for
`BigUint` and `BigInt`.

closes #28
2014-11-16 19:37:49 +09:00
Alex Crichton aec75185e5 Merge pull request #29 from gifnksm/master
Implements `Encodable` and `Decodable`
2014-11-13 10:44:46 -06:00
gifnksm 7a7c5fb2ad Implements `Encodable` and `Decodable`
Fixes #27
2014-11-13 20:54:42 +09:00
Alex Crichton da2fcbaa0c Merge pull request #25 from jbcrail/fix-overflow-literal
Fix overflowing literal in LCM test.
2014-11-07 23:31:17 -06:00
Alex Crichton 62daf0de5f Merge pull request #26 from jbcrail/rm-unused-imports
Remove unused imports.
2014-11-07 23:30:53 -06:00
Joseph Crail fc984d4432 Fix overflowing literal in LCM test. 2014-11-07 21:24:49 -05:00
Joseph Crail e09b009edb Remove unused imports. 2014-11-07 21:21:23 -05:00
Alex Crichton 1690a26544 Merge pull request #24 from jbcrail/fix-non-upper-case-globals
Fix two non uppercase globals.
2014-11-06 22:20:46 -06:00
Joseph Crail 40873fb0c6 Fix two non uppercase globals. 2014-11-06 22:47:10 -05:00
Alex Crichton c694115f92 Merge pull request #23 from gifnksm/master
Update to latest rustc
2014-11-06 10:53:07 -06:00
gifnksm 272d6edb79 Update to latest rustc 2014-11-06 22:09:03 +09:00
Alex Crichton b27db91313 Merge pull request #22 from gifnksm/master
bigint: Remove `parse_bytes` method
2014-11-04 17:16:33 -06:00
gifnksm d3fd33a878 Fix lint name warning 2014-11-05 07:32:00 +09:00
gifnksm 163646cd63 Use sliciing_syntax 2014-11-05 07:32:00 +09:00
gifnksm 436f954627 bigint: Refactor the `parse_bytes` and `from_str_radix`.
This follows the changes of "Separate string->integer implementation in strconv" (rust-lang/rust@138b76b).
This allows `parse_bytes` to be removed without breaking `libnum` code.
2014-11-05 07:31:53 +09:00
Alex Crichton c0cf374c4a Merge pull request #21 from japaric/from-str
parse_bytes has been removed, use from_str_radix instead
2014-11-04 10:12:16 -06:00
Jorge Aparicio ee6501c81a parse_bytes has been removed, use from_str_radix instead
see rust-lang/rust#18536
2014-11-04 09:20:18 -05:00
Alex Crichton 3ac6af6b2d Merge pull request #19 from jbcrail/fix-missing-doc-warning
Fix warning about renamed missing doc attribute.
2014-11-01 17:38:14 -05:00
Joseph Crail 11901f7724 Fix warning about renamed missing doc attribute. 2014-11-01 17:16:43 -04:00
Alex Crichton 52e2afa304 Merge pull request #18 from zsiciarz/master
fail -> panic
2014-10-30 10:17:48 -05:00
Zbigniew Siciarz 462f7131bc fail -> panic 2014-10-30 14:20:15 +01:00
Alex Crichton 6c56fe940c Update to Rust master
Closes #17
2014-10-21 09:27:08 -07:00
Alex Crichton 5e2ece2f6f Merge pull request #16 from gifnksm/master
Convert statics to constants
2014-10-10 09:59:47 -05:00
gifnksm f1d975b6f1 Migrate to new `cfg` attribute syntax` 2014-10-10 22:56:15 +09:00
gifnksm ac37b913d9 Fix `non_uppercase_statics` warnings of private constants. 2014-10-10 22:54:30 +09:00
gifnksm 2fe050c471 Convert statics to constants 2014-10-10 22:50:22 +09:00
Alex Crichton 9b6e014a8b Merge pull request #4 from steveklabnik/master
Add a README for num
2014-09-23 17:01:21 -04:00
Steve Klabnik 4bcd63e5ab Add a README for num 2014-09-23 16:27:05 -04:00
Alex Crichton 900a6a2fd2 Merge pull request #3 from japaric/rename-zero
Backport: Rename `Zero` variant to `NoSign`
2014-09-20 22:55:43 -04:00
Jorge Aparicio dc3fed0add Rename `Zero` variant to `NoSign` 2014-09-20 19:58:59 -05:00
Alex Crichton 998e6c89b1 Merge pull request #1 from jbcrail/fix-rational-rounding
Fix regression and overflow bug for rationals.
2014-09-18 09:50:38 -04:00
Joseph Crail d9b56348c6 Fix regression and overflow bug for rationals. 2014-09-17 22:23:07 -04:00
Aaron Turon 4fa331aa41 Added shootout benchmark 2014-09-16 11:41:09 -07:00