about summary refs log tree commit diff
path: root/src/libcore/num
AgeCommit message (Expand)AuthorLines
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
2013-04-14Remove unnecessary enclosing modules for NumCast implsBrendan Zabarauskas-30/+22
2013-04-14Consolidate tests of numeric operationsBrendan Zabarauskas-83/+29
2013-04-14Restore Num traitBrendan Zabarauskas-0/+22
2013-04-14Remove trailing whitespaceBrendan Zabarauskas-5/+5
2013-04-14Add a test to show how NumCast can be used in type parametersBrendan Zabarauskas-1/+24
2013-04-14Generate NumCast impls and tests using macrosBrendan Zabarauskas-922/+114
2013-04-14Clarify purpose of NumCast traitBrendan Zabarauskas-2/+2
2013-04-09auto merge of #5769 : gifnksm/rust/range_step, r=bstriebors-10/+49
2013-04-08auto merge of #5787 : alexcrichton/rust/less-mut-fields, r=catamorphismbors-47/+33
2013-04-08Removing no longer needed unsafe blocksAlex Crichton-47/+33
2013-04-08libcore: from_str_common: provide option to ignore underscores.Huon Wilson-24/+44
2013-04-08libcore: from_str_common: correctly signal failure on repeating base 2^n numb...Huon Wilson-5/+24
2013-04-07libcore: fix overflow/underflow in range_stepgifnksm-10/+49
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