Open
Description
From @rust-highfive on September 28, 2014 22:43
Issue by thestinger
Friday Apr 05, 2013 at 08:48 GMT
For earlier discussion, see rust-lang/rust#5738
This issue was labelled with: A-libs in the Rust repository
The gmp Mpq
type does does it after each operation, and then exposes a raw interface for doing a few operations without normalizing. It only guarantees that operations are valid when the type is normalized. This leads to the most predictable performance with big integers, and avoids avoidable overflows for fixed size ones.
This would probably involve making the fields priv
and using scary names for raw manipulation methods.
Copied from original issue: rust-num/num#6