about summary refs log tree commit diff
path: root/src/libstd/bigint.rs
AgeCommit message (Collapse)AuthorLines
2013-04-05libstd: move bigint to dedicated num directoryHuon Wilson-1647/+0
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-125/+125
2013-03-28Removing unused importsAlex Crichton-1/+1
2013-03-23replace impls with `deriving` where applicableAndrew Paseltiner-5/+1
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-25/+25
2013-03-22libstd: Remove all uses of `pure` from libstd. rs=depurePatrick Walton-104/+104
2013-03-22librustc: Remove all uses of `static` from functions. rs=destaticPatrick Walton-19/+19
2013-03-21Un-renamed trim and substr functions.Marvin Löbel-1/+1
2013-03-21Switched over substr and trim functions in str to be non-allocating, ↵Marvin Löbel-2/+3
temporary renamed them to better track use-sites
2013-03-19core: rename vec::rev_each{,i} to vec::each{,i}_reverseErick Tryzelaar-3/+3
I'm making this change because the _reverse suffix is more commonly used in libcore/libstd.
2013-03-18librustc: Convert all uses of old lifetime notation to new lifetime ↵Patrick Walton-20/+20
notation. rs=delifetiming
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-135/+135
2013-03-06Add manual &self/ and &static/ and /&self declarations thatNiko Matsakis-8/+20
are currently inferred. New rules are coming that will require them to be explicit. All add some explicit self declarations.
2013-03-05core: convert vec::{last,last_opt} to return referencesErick Tryzelaar-2/+2
2013-03-03rustc: MIPS32 supportJyun-Yan You-0/+6
2013-03-02librustc: Forbid chained imports and fix the logic for one-level renaming ↵Patrick Walton-1/+1
imports
2013-02-14Convert all uses of vec::slice to vec::view Issue #3869Nick Desaulniers-8/+9
Rename const_view to const_slice Renamed mut_view to mut_slice
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-32/+32
rs=implflipping
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-9/+9
2013-02-03core: convert ToStr::to_str to take explicit &selfErick Tryzelaar-2/+2
2013-02-03Converted libcore/uint-template.rs to the new string functions.Marvin Löbel-1/+1
- Moved ToStr implementation of unsigned integers to uint-template.rs. - Marked the `str()` function as deprecated. - Forwarded all conversion functions to `core::num::to_str_common()` and `core::num::from_str_common()`. - Fixed most places in the codebase where `to_str()` is being used. - Added uint-template to_str and from_str overflow tests.
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-1/+1
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-8/+8
2013-01-29libstd: Remove "dual impls" from the language and enforce coherence rules. ↵Patrick Walton-9/+40
r=brson "Dual impls" are impls that are both type implementations and trait implementations. They can lead to ambiguity and so this patch removes them from the language. This also enforces coherence rules. Without this patch, records can implement traits not defined in the current crate. This patch fixes this, and updates all of rustc to adhere to the new enforcement. Most of this patch is fixing rustc to obey the coherence rules, which involves converting a bunch of records to structs.
2013-01-24replace ConstVector trait with the Container traitDaniel Micay-1/+1
2013-01-17Add a license check to tidy. #4018Brian Anderson-0/+10
2013-01-10Fix: BigInt tests fail on 32-bit platformsgifnksm-28/+110
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-1/+3
module scope. r=tjc
2013-01-08Only ignore failing bigint tests on 32-bit platformsBrian Anderson-4/+8
2013-01-08Ignore some failing bigint testsBrian Anderson-0/+4
2013-01-08Merge remote-tracking branch 'gifnksm/bigint' into kind-namesBrian Anderson-0/+1498
2012-12-22Convert @[BigDigit] to ~[BigDigit]gifnksm-279/+254
2012-12-22Impl Zero, One of BigInt, BigUintgifnksm-73/+85
2012-12-22Convert std::bigint to explicit self.gifnksm-45/+52
2012-12-22Move BigUint and BigDIgit to std::bigint.gifnksm-4/+834
2012-12-22Implement BigInt and BigUint.gifnksm-0/+663