| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-05-22 | libstd: Rename libcore to libstd and libstd to libextra; update makefiles. | Patrick Walton | -2021/+0 | |
| This only changes the directory names; it does not change the "real" metadata names. | ||||
| 2013-05-19 | Use assert_eq! rather than assert! where possible | Corey Richardson | -22/+22 | |
| 2013-05-14 | libstd: impl `Orderable` for `BigUint`/`BigInt` | gifnksm | -1/+37 | |
| 2013-05-14 | libstd: impl Num for BigUint/BigInt | gifnksm | -0/+4 | |
| 2013-05-11 | auto merge of #6429 : gifnksm/rust/bigint-is_even, r=catamorphism | bors | -1/+12 | |
| `BigUint::is_even()` didn't return correct value. | ||||
| 2013-05-11 | Warning police | Tim Chevalier | -2/+0 | |
| 2013-05-12 | libstd: Fix BigUint::is_even | gifnksm | -1/+12 | |
| 2013-05-10 | renamed vec::from_slice to vec::to_owned | Youngsoo Son | -1/+1 | |
| 2013-05-09 | remove vecs_implicitly_copyable from libstd/libcore | Daniel Micay | -1/+0 | |
| 2013-05-07 | Add abs_sub method to Signed trait | Brendan Zabarauskas | -0/+14 | |
| 2013-05-03 | add gitattributes and fix whitespace issues | Daniel Micay | -1/+0 | |
| 2013-05-02 | libcore: Export core::from_str::FromStr from core::prelude | gifnksm | -3/+2 | |
| 2013-05-02 | libstd: impl Clone for BigUint/BigInt and replace `copy` with `.clone()` | gifnksm | -11/+13 | |
| 2013-05-01 | Revert rename of Div to Quot | Brendan Zabarauskas | -63/+60 | |
| 2013-04-29 | auto merge of #6108 : gifnksm/rust/bigint-shift-bug, r=brson | bors | -21/+39 | |
| `std::bigint` contains the following code. ```rust borrow = *elem << (uint::bits - n_bits); ``` The code above contains a bug that the value of the right operand of the shift operator exceeds the size of the left operand, because sizeof(*elem) == 32, and 0 <= n_bits < 32 in 64bit architecture. If `--opt-level` option is not given to rustc, the code above runs as if the right operand is `(uint::bits - n_bits) % 32`, but if --opt-level is given, `borrow` is always zero. I wonder why this bug is not catched in the libstd's testsuite (I try the `rustc --test --opt-level=2 bigint.rs` before fixing the bug, but the unittest passes normally.) This pull request also removes the implicit vector copies in `bigint.rs`. | ||||
| 2013-04-29 | Rename 'divisible_by' method to 'is_multiple_of', add tests for 'is_odd' and ↵ | Brendan Zabarauskas | -2/+2 | |
| 'is_even' | ||||
| 2013-04-29 | libstd: modify wrong shift width. | gifnksm | -1/+2 | |
| borrow = *elem << (uint::bits - n_bits); The code above contains a bug that the value of the right operand of the shift operator exceeds the size of the left operand, because sizeof(*elem) == 32, and 0 <= n_bits < 32 in 64bit architecture. If `--opt-level` option is not given to rustc, the code above runs as if the right operand is `(uint::bits - n_bits) % 32`, but if --opt-level is given, `borrow` is always zero. I wonder why this bug is not catched in the libstd's testsuite (I try the `rustc --test --opt-level=2 bigint.rs` before fixing the bug, but the unittest passes normally.) | ||||
| 2013-04-29 | libstd: remove implicit copying of BigInt/BigUint | gifnksm | -20/+37 | |
| 2013-04-28 | libstd: inlining almost every methods in bigint module. | gifnksm | -1/+86 | |
| 2013-04-28 | libstd: impl Integer for BigUint/BigInt. | gifnksm | -143/+297 | |
| Also remove abs() method from the non-trait impl for BigInt/BigUint. That method is provided in the Signed trait. | ||||
| 2013-04-26 | Add is_zero method to Zero | Brendan Zabarauskas | -19/+17 | |
| 2013-04-24 | Implement Signed and Unsigned traits and remove related predicate functions | Brendan Zabarauskas | -8/+25 | |
| 2013-04-23 | libstd: correct bigint's quot/rem, div/modulo | gifnksm | -56/+57 | |
| 2013-04-22 | Rename Div operator trait to Quot and Modulo operator trait to Rem | Brendan Zabarauskas | -32/+32 | |
| 2013-04-08 | Removing no longer needed unsafe blocks | Alex Crichton | -1/+1 | |
| 2013-04-07 | Impl cmp/num traits for BigUint, BigInt | gifnksm | -145/+187 | |
| TotalEq, TotalOrd, FromStrRadix, ToStrRadix. | ||||
| 2013-04-05 | libstd: move bigint to dedicated num directory | Huon Wilson | -0/+1647 | |
