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.) |
||
---|---|---|
benches | ||
src | ||
.gitignore | ||
.travis.yml | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md |
README.md
num
Arbitrary sized numeric types for Rust.
Usage
Add this to your Cargo.toml
:
[dependencies]
num = "*"
and this to your crate root:
extern crate num;