about summary refs log tree commit diff
path: root/src/libstd/num
AgeCommit message (Expand)AuthorLines
2013-06-12std: unify the str -> [u8] functions as 3 methods: .as_bytes() and .as_bytes_...Huon Wilson-37/+38
2013-06-11std: convert pow, hypot, atan2, log to take arguments by reference.Huon Wilson-20/+20
2013-06-08std: Fix search-and-replace typosTim Chevalier-1/+1
2013-06-04librustc: Disallow multiple patterns from appearing in a "let" declaration.Patrick Walton-2/+2
2013-05-30Add example for uint::range_step.Steve Klabnik-3/+12
2013-05-30Require documentation by default for libstdAlex Crichton-0/+35
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-4/+35
2013-05-29Changed to a more efficient implementation.Matthijs Hofstra-16/+4
2013-05-29Replaced calls to external fmin/fmax by a Rust implementation.Matthijs Hofstra-4/+31
2013-05-28Silence various warnings throughout test modulesAlex Crichton-80/+80
2013-05-28auto merge of #6771 : thestinger/rust/highlight, r=luqmanabors-3/+3
2013-05-27syntax highlight code examples in docstringsDaniel Micay-3/+3
2013-05-27Get rid of no-longer-needed #[doc(hidden)] attributes.Lindsey Kuper-2/+0
2013-05-24Remove usage of the #[merge] hack with int modulesAlex Crichton-1121/+923
2013-05-23cleanup warnings from libstdErick Tryzelaar-152/+150
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-2861/+7635
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-22/+22
2013-05-14auto merge of #6471 : gifnksm/rust/reform-rational, r=brsonbors-84/+126
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-1/+1
2013-05-14libstd: Add tests for BigRationalgifnksm-20/+56
2013-05-14libstd: `Ratio` requires `Clone` instead of `Copy`gifnksm-23/+28
2013-05-14libstd: `Rational` requires `Integer` as type bounds instead of `Num`gifnksm-53/+14
2013-05-14libstd: impl `Orderable` for `BigUint`/`BigInt`gifnksm-1/+37
2013-05-14libstd: impl Num for BigUint/BigIntgifnksm-0/+4
2013-05-11auto merge of #6429 : gifnksm/rust/bigint-is_even, r=catamorphismbors-1/+12
2013-05-11Warning policeTim Chevalier-2/+0
2013-05-12libstd: Fix BigUint::is_evengifnksm-1/+12
2013-05-10renamed vec::from_slice to vec::to_ownedYoungsoo Son-1/+1
2013-05-09remove vecs_implicitly_copyable from libstd/libcoreDaniel Micay-1/+0
2013-05-07Add abs_sub method to Signed traitBrendan Zabarauskas-0/+14
2013-05-03add gitattributes and fix whitespace issuesDaniel Micay-1/+0
2013-05-02libcore: Export core::from_str::FromStr from core::preludegifnksm-3/+2
2013-05-02libstd: impl Clone for BigUint/BigInt and replace `copy` with `.clone()`gifnksm-11/+13
2013-05-01Revert rename of Div to QuotBrendan Zabarauskas-70/+67
2013-04-29auto merge of #6108 : gifnksm/rust/bigint-shift-bug, r=brsonbors-21/+39
2013-04-29Rename 'divisible_by' method to 'is_multiple_of', add tests for 'is_odd' and ...Brendan Zabarauskas-2/+2
2013-04-29Implement Fractional for RatioBrendan Zabarauskas-0/+18
2013-04-29libstd: modify wrong shift width.gifnksm-1/+2
2013-04-29libstd: remove implicit copying of BigInt/BigUintgifnksm-20/+37
2013-04-28auto merge of #6092 : gifnksm/rust/impl-integer-bigint, r=graydonbors-144/+383
2013-04-28libstd: inlining almost every methods in bigint module.gifnksm-1/+86
2013-04-28libstd: impl Integer for BigUint/BigInt.gifnksm-143/+297
2013-04-27only use #[no_core] in libcoreDaniel Micay-6/+0
2013-04-26Add is_zero method to ZeroBrendan Zabarauskas-19/+27
2013-04-25Update impl of Round for RatioBrendan Zabarauskas-20/+22
2013-04-24Implement Signed and Unsigned traits and remove related predicate functionsBrendan Zabarauskas-8/+25
2013-04-22auto merge of #6013 : gifnksm/rust/bigint-quot-rem, r=graydonbors-56/+57
2013-04-22auto merge of #5966 : alexcrichton/rust/issue-3083, r=graydonbors-2/+2
2013-04-23libstd: correct bigint's quot/rem, div/modulogifnksm-56/+57
2013-04-22libstd: denominator isn't quotientHuon Wilson-1/+1