summary refs log tree commit diff
path: root/src/libcore/num
AgeCommit message (Collapse)AuthorLines
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-832/+832
2013-03-28Removing unused importsAlex Crichton-5/+6
2013-03-26librustc: Remove all uses of the old `[T * N]` fixed-length vector syntaxPatrick Walton-4/+6
2013-03-26Switched over a bunch of splitting funktions to non-allocating iteratorsMarvin Löbel-4/+4
2013-03-26Moved float str buffer constants to the strconv moduleMarvin Löbel-3/+10
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-152/+152
2013-03-22libcore: Remove `pure` from libcore. rs=depurePatrick Walton-489/+491
2013-03-22librustc: Remove all uses of `static` from functions. rs=destaticPatrick Walton-50/+50
2013-03-21back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> ↵Marvin Löbel-3/+3
slice_unique
2013-03-21renamed str::view -> slice_DBG_BRWDMarvin Löbel-3/+3
renamed str::slice -> slice_DBG_UNIQ changed vec slice method -> to_owned() renamed vec view method -> slice_V_DBG_BRWD
2013-03-20libsyntax: Never use `::<>` in the type grammarPatrick Walton-3/+3
2013-03-14Remove unused import in coreILyoan-4/+0
2013-03-11libsyntax: Stop parsing bare functions in preparation for switching them overPatrick Walton-1/+4
2013-03-11librustc: Replace all uses of `fn()` with `&fn()`. rs=defunPatrick Walton-10/+10
2013-03-07test: Fix tests.Patrick Walton-7/+14
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-840/+840
2013-03-07libcore: Remove `extern mod { ... }` from libcore. rs=deexterningPatrick Walton-128/+142
2013-03-04Adding missing imports for tests, and gate off othersAlex Crichton-51/+55
2013-03-04Remove unused imports throughout src/Alex Crichton-27/+3
2013-03-03rustc: MIPS32 supportJyun-Yan You-0/+1
2013-03-02librustc: Forbid chained imports and fix the logic for one-level renaming ↵Patrick Walton-1/+1
imports
2013-03-01Rename core::private to core::unstable. #4743Brian Anderson-2/+2
2013-02-28core: Address XXX, make static constants for strings used when stringifying ↵Tim Chevalier-4/+3
floats
2013-02-27librustc: Forbid `pub` or `priv` before trait implementationsPatrick Walton-14/+14
2013-02-26Removed deprecated `str()` functions in int-template.rs and uint-template.rsMarvin Löbel-10/+0
2013-02-20auto merge of #5063 : pcwalton/rust/plussing, r=pcwaltonbors-1/+1
2013-02-20librustc: Separate most trait bounds with '+'. rs=plussingPatrick Walton-1/+1
2013-02-20Created libcore/private/intrinsics.rs, which aims to contain everyMatthijs 'Thiez' Hofstra-10/+2
rustc intrinsic. Several files in libcore have been changed to use these intrinsics. As of yet, none of the intrinsics are documented.
2013-02-15auto merge of #4957 : Kimundi/rust/incoming, r=catamorphismbors-691/+732
Moved them into own module and made them not depend on an Round trait impl for integers and generic math functions that can fail on integers any more.
2013-02-15librustc: Stop parsing `impl Type : Trait` and fix several declarations that ↵Patrick Walton-14/+14
slipped through. r=tjc
2013-02-15Removed `has_*` predicates from NumStrConv traitMarvin Löbel-50/+34
Moved `is_*` predicates into standalone functions
2013-02-15tidyMarvin Löbel-5/+0
2013-02-15Removed generic infinity, NaN and negative zero functionsMarvin Löbel-87/+7
Removed Round impl for integers
2013-02-15Long lines, proper FIXME, inliningMarvin Löbel-66/+71
2013-02-15Made num <-> str conversion functions use NumStrConv traitMarvin Löbel-119/+111
Removed hacky dependency on Round trait and generic infinity functions Removed generic-runtime-failure-depending-on-type behavior
2013-02-15Added NumStrConv trait and impls for the string conversion functionsMarvin Löbel-1/+108
2013-02-15Moved numeric string conversion functions into own moduleMarvin Löbel-604/+642
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-52/+52
rs=implflipping
2013-02-14libcore: Move the numeric operations out of Num. r=brsonPatrick Walton-102/+151
Sadly I could not use trait inheritance due to a type parameter substitution bug.
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-26/+26
2013-02-13rustc and std: teach about #[bench], modernize to use quote_expr! some.Graydon Hoare-1/+1
2013-02-13core: add abs to num.Graydon Hoare-0/+4
2013-02-13core: add min and max to cmp, re-export various places.Graydon Hoare-10/+4
2013-02-11Add NumCast trait for generic numeric type castsBrendan Zabarauskas-71/+1024
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-23/+0
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-02-03core: convert ToStr::to_str to take explicit &selfErick Tryzelaar-7/+7
2013-02-03Solved float, f32 and f64 `to_str_radix()` special value ambiguity.Marvin Löbel-3/+69
Calling it on a special value now causes a failure, however `to_str_radix_special()` is provided which can be used if those values are expected, and which returns a tupel to allow differentating them.
2013-02-03Fixed errors resulting from rebase.Marvin Löbel-25/+26
2013-02-03Fixed `fmt!`, tests, doc-tests.Marvin Löbel-1/+7
2013-02-03Removed wrong/wip docMarvin Löbel-4/+0