about summary refs log tree commit diff
path: root/src/libcore/num
AgeCommit message (Expand)AuthorLines
2013-05-14Fix cosmetics for fail!() callsMarvin Löbel-9/+7
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-27/+27
2013-05-14auto merge of #6463 : bjz/rust/numeric-traits, r=thestingerbors-1/+445
2013-05-14Remove unnecessary infinity checkBrendan Zabarauskas-4/+2
2013-05-14Add ldexp and frexp functionsBrendan Zabarauskas-1/+184
2013-05-13Remove re-exports from libcore/core.rcAlex Crichton-0/+3
2013-05-14Add inverse hyperbolic functionsBrendan Zabarauskas-0/+263
2013-05-12libsyntax: Tighten up expressions in patterns to only allow identifiers or li...Patrick Walton-5/+5
2013-05-13Make Float::classify matching more clear for f64 and f32Brendan Zabarauskas-20/+14
2013-05-10core: Use the new `for` protocolAlex Crichton-13/+88
2013-05-08Remove #[cfg(notest)] and use #[cfg(not(test))] to cooincide with #[cfg(debug)]Zack Corr-55/+55
2013-05-07Add is_normal and classify methods to Float traitBrendan Zabarauskas-17/+170
2013-05-07Add abs_sub method to Signed traitBrendan Zabarauskas-5/+126
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