num-traits/src
gifnksm a325a566c6 update to latest rustc
Now, arithmetic binary operator traits take operands by value,
but non-copyable types such as `BigUint` should not always moved out when
applying operators.

This commit implements these operators not only for bare structs also
these references.
By-value implementations are forwarded to by-reference implementations
for now. In the future, by-value implementations may be replaced with
more efficient implementations (for example, the implementation that
reuses moved buffers.)
2014-12-16 23:44:16 +09:00
..
bigint.rs update to latest rustc 2014-12-16 23:44:16 +09:00
complex.rs update to latest rustc 2014-12-16 23:44:16 +09:00
integer.rs update to latest rustc 2014-12-16 23:44:16 +09:00
iter.rs update to latest rustc 2014-12-16 23:44:16 +09:00
lib.rs update to latest rustc 2014-12-16 23:44:16 +09:00
rational.rs update to latest rustc 2014-12-16 23:44:16 +09:00
traits.rs Add numeric functions and `traits` module that provide numeric traits for generic 2014-11-16 19:37:49 +09:00