about summary refs log tree commit diff
path: root/src/libcore/float.rs
AgeCommit message (Collapse)AuthorLines
2013-02-03Moved all numeric modules in core into own directoryMarvin Löbel-620/+0
Reason: Better grouping of related modules, future-proving for a more extensive math library.
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-1/+1
2013-01-30Add test for float::roundCody Schroeder-5/+9
2013-01-24replace ConstVector trait with the Container traitDaniel Micay-1/+1
2013-01-14Inlining methods/functions in core.gifnksm-0/+18
Also inlining some functions which take functions as arguments.
2013-01-10librustc: Make all external functions unsafe. r=tjcPatrick Walton-6/+18
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+1
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-1/+0
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+1
module scope. r=tjc
2012-12-27librustc: Fix the test runner, the condition system, and core test. rs=bustagePatrick Walton-0/+1
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-2/+7
contain at least two components. r=graydon
2012-12-24Fix wayward search and replace; unbreak buildTim Chevalier-3/+3
2012-12-24Merge pull request #4278 from cpeterso/incoming-pure-functionsTim Chevalier-2/+2
Mark some more core and std functions as pure
2012-12-23core: Mark some functions as pureChris Peterson-2/+2
2012-12-21bump 0.5 => 0.6, redirect some URLs in docs.Graydon Hoare-3/+3
2012-12-20core: Add a Zero and One trait to numErick Tryzelaar-0/+8
I believe these are the last traits we need in order to start grouping our numerical types into mathematical groups and rings.
2012-12-13Change some uses of static methods to use the trait pathBrian Anderson-1/+1
2012-12-05Convert Num to explicit selfBrian Anderson-8/+8
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-30core: Make core.rc more readable. CleanupBrian Anderson-0/+2
2012-11-28Register snapshotsBrian Anderson-24/+0
2012-11-23Inline numeric operations for floats.Eric Holk-0/+8
2012-11-19rustc: Implement explicit self for Eq and Ord. r=graydonPatrick Walton-0/+24
2012-11-15librustc: Fix cross-crate reexports. rs=blocking-servoPatrick Walton-9/+9
2012-10-11Make to_str pure and fix const parameters for str-mutating functionsTim Chevalier-5/+7
Two separate changes that got intertwined (sorry): Make to_str pure. Closes #3691 In str, change functions like push_char to take an &mut str instead of an &str. Closes #3710
2012-09-28demode vecNiko Matsakis-1/+1
2012-09-27Finish de-exporting box, char, float. Part of #3583.Graydon Hoare-31/+15
2012-09-26libcore: Partially de-export char, f32, f64, and floatPatrick Walton-43/+41
2012-09-26Demode vec::push (and convert to method)Niko Matsakis-1/+1
2012-09-25Demode Num trait and implsTim Chevalier-18/+18
2012-09-23Register snapshots. Remove redundant Eq impls, Makefile hacksBrian Anderson-16/+0
2012-09-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-0/+1
#[legacy_exports];
2012-09-20rustc: De-mode all overloaded operatorsPatrick Walton-0/+16
2012-09-07rustc: Add an "ne" method to the Eq trait, and implement it everywherePatrick Walton-0/+1
2012-09-05Start making moves explicit in libcoreTim Chevalier-2/+1
This is in preparation for issue 2633. Replaced implicit moves that rely on last-use with explicit moves in char, float, and str.
2012-09-04libcore: "import" -> "use"Patrick Walton-13/+13
2012-09-01Remove the 'to' keywordBrian Anderson-2/+2
2012-08-29rustc: Make `<=`, `>=`, and `>` use traits as wellPatrick Walton-0/+3
2012-08-29rustc: Make `<` and `=` into traitsPatrick Walton-2/+11
2012-08-27libcore: Replace a bunch of "== None" with ".is_none()".Patrick Walton-10/+10
Generally, "== None" calls into the shape glue, and it's also more useful.
2012-08-26Camel case the option typeBrian Anderson-47/+47
2012-08-14Fix build breakageTim Chevalier-1/+2
2012-08-14Make Num::from_int a static methodTim Chevalier-7/+7
2012-08-13More core mode forbidding.Graydon Hoare-6/+10
2012-08-13core: Camel case some lesser-used modulesBrian Anderson-2/+2
2012-08-13core: Export f32::ge(), f64::ge(), and float::ge()Chris Peterson-2/+2
2012-08-08Convert impls to new syntaxBrian Anderson-1/+1
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-7/+7
2012-08-05Switch alts to use arrowsBrian Anderson-28/+18
2012-08-01Convert ret to returnBrian Anderson-27/+27