summary refs log tree commit diff
path: root/src/libstd/num/uint.rs
AgeCommit message (Collapse)AuthorLines
2013-09-16std::num: Add uint::next_power_of_two_optblake2-ppc-1/+11
Like next_power_of_two, but returns None on overflow.
2013-09-08Moved checked trait impls out of std::numBrendan Zabarauskas-0/+69
This follows the same pattern as the other numeric trait impls, and reduces the clutter in std::num.
2013-08-29Remove the iter module.Jason Fager-3/+3
Moves the Times trait to num while the question of whether it should exist at all gets hashed out as a completely separate question.
2013-08-06std: Remove uint::iterate, replaced by `range`blake2-ppc-24/+0
2013-08-01std: Change `Times` trait to use `do` instead of `for`blake2-ppc-7/+6
Change the former repetition:: for 5.times { } to:: do 5.times { } .times() cannot be broken with `break` or `return` anymore; for those cases, use a numerical range loop instead.
2013-06-18replace #[inline(always)] with #[inline]. r=burningtree.Graydon Hoare-2/+2
2013-05-24Remove usage of the #[merge] hack with int modulesAlex Crichton-0/+195