about summary refs log tree commit diff
path: root/src/libcore/num
AgeCommit message (Expand)AuthorLines
2013-05-07Fix order of methodsBrendan Zabarauskas-24/+26
2013-05-07Implement exp_m1 and ln_1p as methods for FloatBrendan Zabarauskas-22/+65
2013-05-07Switch to using 'ln' for the natural logarithm and 'log' for arbitrary base l...Brendan Zabarauskas-36/+49
2013-05-06Add assert_approx_eq! macroBrendan Zabarauskas-223/+195
2013-05-06Move FuzzyEq trait into core::cmp and rename it to 'ApproxEq'Brendan Zabarauskas-2/+78
2013-05-04Register snapshotsBrian Anderson-58/+6
2013-05-02libcore: Export core::from_str::FromStr from core::preludegifnksm-8/+3
2013-05-02Remove 'Local Variable' commentsBrendan Zabarauskas-41/+0
2013-05-01Revert rename of Div to QuotBrendan Zabarauskas-126/+99
2013-04-29auto merge of #6110 : bjz/rust/numeric-traits, r=pcwaltonbors-252/+354
2013-04-29Revert "Merge Exponential and Hyperbolic traits"Brendan Zabarauskas-3/+9
2013-04-29Merge Exponential and Hyperbolic traitsBrendan Zabarauskas-9/+3
2013-04-29Rename 'divisible_by' method to 'is_multiple_of', add tests for 'is_odd' and ...Brendan Zabarauskas-5/+67
2013-04-29Move appropriate functions out of Real and into separate Algebraic, Trigonome...Brendan Zabarauskas-247/+287
2013-04-28make way for a new iter moduleDaniel Micay-1/+1
2013-04-27Propagate NaNs for Orderable methods impled on floating-point primitivesBrendan Zabarauskas-15/+75
2013-04-27Fix copy-paste mistakesBrendan Zabarauskas-5/+5
2013-04-27Remove unnecessary fallbacksBrendan Zabarauskas-82/+0
2013-04-27Rename `nextafter` to `next_after` to match method name in FloatBrendan Zabarauskas-8/+9
2013-04-27Add additional constants to primitive floating point numbersBrendan Zabarauskas-1/+96
2013-04-27Add mul_add and next_after methods to FloatBrendan Zabarauskas-2/+55
2013-04-27Add Orderable traitBrendan Zabarauskas-2/+152
2013-04-26Combine PrimitiveInt, Int, and Uint traits into one single traitBrendan Zabarauskas-22/+6
2013-04-26Add BitCount traitBrendan Zabarauskas-14/+285
2013-04-26Add Int, Uint and Float traits for primitive numbersBrendan Zabarauskas-48/+120
2013-04-26Add Bitwise, Bounded, Primitive, and PrimitiveInt traitsBrendan Zabarauskas-0/+254
2013-04-26Minor style improvements for test functionsBrendan Zabarauskas-5/+2
2013-04-26Use `///` doc-comment form instead of `/** */`Brendan Zabarauskas-663/+662
2013-04-26Add is_zero method to ZeroBrendan Zabarauskas-37/+40
2013-04-25Restore Round trait and move appropriate methods out of RealBrendan Zabarauskas-65/+305
2013-04-25Add Fractional, Real and RealExt traitsBrendan Zabarauskas-71/+722
2013-04-25Use borrowed pointers for Integer methodsBrendan Zabarauskas-71/+71
2013-04-25Rename Natural to IntegerBrendan Zabarauskas-3/+3
2013-04-25Use #[cfg(not(stage0))] to exclude items from stage0Brendan Zabarauskas-39/+11
2013-04-25Move impls of `Num` out of core::num and clean up importsBrendan Zabarauskas-77/+53
2013-04-24Removed ascii functions from other modulesMarvin Löbel-7/+0
2013-04-24Implement Natural traitBrendan Zabarauskas-0/+333
2013-04-24Implement Signed and Unsigned traits and remove related predicate functionsBrendan Zabarauskas-159/+292
2013-04-23auto merge of #6034 : thestinger/rust/num, r=catamorphism,pcwaltonbors-0/+58
2013-04-23inline the primitive numeric operationsDaniel Micay-0/+58
2013-04-23Attempt to fix x86 only strconv test failureMarvin Löbel-3/+2
2013-04-22core: ignore test from_str_ignore_underscores. Broken on i686. #6018Brian Anderson-0/+1
2013-04-22Rename Div operator trait to Quot and Modulo operator trait to RemBrendan Zabarauskas-107/+192
2013-04-21librustc: use LLVM intrinsics for several floating point operations.Huon Wilson-153/+166
2013-04-19librustc: WIP patch for using the return value.Patrick Walton-2/+2
2013-04-19Use assert_eq! instead of assert! and remove extraneous parenthesesBrendan Zabarauskas-267/+260
2013-04-18Add #[inline(always)] to each operator methodBrendan Zabarauskas-0/+50
2013-04-18Implement bitwise operator traits for ints and uintsBrendan Zabarauskas-0/+69
2013-04-16libcore,std,syntax,rustc: move tests into `mod tests`, make them private (no ...Huon Wilson-506/+522
2013-04-14core: remove unnecessary unsafe blocks/functionsAlex Crichton-6/+6