about summary refs log tree commit diff
path: root/src/libstd/priority_queue.rs
diff options
context:
space:
mode:
authorBrendan Zabarauskas <bjzaba@yahoo.com.au>2013-04-24 12:54:11 +1000
committerBrendan Zabarauskas <bjzaba@yahoo.com.au>2013-04-24 14:18:01 +1000
commitf39152e07baf03fc1ff4c8b2c1678ac857b4a512 (patch)
tree6faf560d767e64a0c71ae9330c15e0fb1d2e7998 /src/libstd/priority_queue.rs
parentaef249056e55ad2bf3d658609c440fad4a9255eb (diff)
downloadrust-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