diff options
| author | Brendan Zabarauskas <bjzaba@yahoo.com.au> | 2013-04-24 12:54:11 +1000 |
|---|---|---|
| committer | Brendan Zabarauskas <bjzaba@yahoo.com.au> | 2013-04-24 14:18:01 +1000 |
| commit | f39152e07baf03fc1ff4c8b2c1678ac857b4a512 (patch) | |
| tree | 6faf560d767e64a0c71ae9330c15e0fb1d2e7998 /src/libstd/priority_queue.rs | |
| parent | aef249056e55ad2bf3d658609c440fad4a9255eb (diff) | |
| download | rust-f39152e07baf03fc1ff4c8b2c1678ac857b4a512.tar.gz rust-f39152e07baf03fc1ff4c8b2c1678ac857b4a512.zip | |
Implement Natural trait
This adds the following methods to ints and uints: - div - modulo - div_mod - quot_rem - gcd - lcm - divisible_by - is_even - is_odd I have not implemented Natural for BigInt and BigUInt because they're a little over my head.
Diffstat (limited to 'src/libstd/priority_queue.rs')
0 files changed, 0 insertions, 0 deletions
