about summary refs log tree commit diff
path: root/src/libcore/num/float.rs
AgeCommit message (Expand)AuthorLines
2013-04-29Revert "Merge Exponential and Hyperbolic traits"Brendan Zabarauskas-0/+2
2013-04-29Merge Exponential and Hyperbolic traitsBrendan Zabarauskas-2/+0
2013-04-29Move appropriate functions out of Real and into separate Algebraic, Trigonome...Brendan Zabarauskas-69/+110
2013-04-27Propagate NaNs for Orderable methods impled on floating-point primitivesBrendan Zabarauskas-5/+19
2013-04-27Rename `nextafter` to `next_after` to match method name in FloatBrendan Zabarauskas-2/+2
2013-04-27Add additional constants to primitive floating point numbersBrendan Zabarauskas-0/+29
2013-04-27Add mul_add and next_after methods to FloatBrendan Zabarauskas-0/+16
2013-04-27Add Orderable traitBrendan Zabarauskas-0/+29
2013-04-26Add Int, Uint and Float traits for primitive numbersBrendan Zabarauskas-12/+34
2013-04-26Add Bitwise, Bounded, Primitive, and PrimitiveInt traitsBrendan Zabarauskas-0/+14
2013-04-26Minor style improvements for test functionsBrendan Zabarauskas-1/+1
2013-04-26Use `///` doc-comment form instead of `/** */`Brendan Zabarauskas-155/+155
2013-04-26Add is_zero method to ZeroBrendan Zabarauskas-9/+11
2013-04-25Restore Round trait and move appropriate methods out of RealBrendan Zabarauskas-25/+98
2013-04-25Add Fractional, Real and RealExt traitsBrendan Zabarauskas-26/+223
2013-04-25Use #[cfg(not(stage0))] to exclude items from stage0Brendan Zabarauskas-6/+2
2013-04-25Move impls of `Num` out of core::num and clean up importsBrendan Zabarauskas-14/+10
2013-04-24Implement Signed and Unsigned traits and remove related predicate functionsBrendan Zabarauskas-60/+74
2013-04-23inline the primitive numeric operationsDaniel Micay-0/+9
2013-04-22Rename Div operator trait to Quot and Modulo operator trait to RemBrendan Zabarauskas-16/+29
2013-04-21librustc: use LLVM intrinsics for several floating point operations.Huon Wilson-1/+1
2013-04-19Use assert_eq! instead of assert! and remove extraneous parenthesesBrendan Zabarauskas-96/+96
2013-04-18Add #[inline(always)] to each operator methodBrendan Zabarauskas-0/+12
2013-04-16libcore,std,syntax,rustc: move tests into `mod tests`, make them private (no ...Huon Wilson-196/+199
2013-04-14core: remove unnecessary unsafe blocks/functionsAlex Crichton-6/+6
2013-04-14Consolidate tests of numeric operationsBrendan Zabarauskas-12/+0
2013-04-14Generate NumCast impls and tests using macrosBrendan Zabarauskas-70/+0
2013-04-08libcore: from_str_common: provide option to ignore underscores.Huon Wilson-3/+3
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-169/+169
2013-03-28Removing unused importsAlex Crichton-1/+2
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-18/+18
2013-03-22libcore: Remove `pure` from libcore. rs=depurePatrick Walton-60/+60
2013-03-22librustc: Remove all uses of `static` from functions. rs=destaticPatrick Walton-5/+5
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-169/+169
2013-03-04Adding missing imports for tests, and gate off othersAlex Crichton-2/+3
2013-03-04Remove unused imports throughout src/Alex Crichton-5/+0
2013-02-27librustc: Forbid `pub` or `priv` before trait implementationsPatrick Walton-1/+1
2013-02-15auto merge of #4957 : Kimundi/rust/incoming, r=catamorphismbors-14/+19
2013-02-15librustc: Stop parsing `impl Type : Trait` and fix several declarations that ...Patrick Walton-1/+1
2013-02-15Made num <-> str conversion functions use NumStrConv traitMarvin Löbel-6/+6
2013-02-15Moved numeric string conversion functions into own moduleMarvin Löbel-14/+19
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. rs=implflip...Patrick Walton-9/+9
2013-02-14libcore: Move the numeric operations out of Num. r=brsonPatrick Walton-16/+27
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-7/+7
2013-02-11Add NumCast trait for generic numeric type castsBrendan Zabarauskas-20/+78
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-4/+0
2013-02-03core: convert ToStr::to_str to take explicit &selfErick Tryzelaar-1/+1
2013-02-03Solved float, f32 and f64 `to_str_radix()` special value ambiguity.Marvin Löbel-1/+23
2013-02-03Fixed errors resulting from rebase.Marvin Löbel-5/+5
2013-02-03Converted the floating point types to the new string conversion functions.Marvin Löbel-206/+221