Before:
sprintf("%3.3f", Gmp.mpq(1,3));
(1) Result: "0.333"
sprintf("%3.3f", Gmp.mpq(2,3));
(2) Result: ".666"
Ok, I can see that seems a bit wrong.
After:
sprintf("%3.3f", Gmp.mpq(1,3));
(1) Result: "0.333"
sprintf("%3.3f", Gmp.mpq(2,3));
(2) Result: "066\0\0"
Uh, but that's not right either, is it?
Could we please make it a habit to test our code at least once before pushing it? K thx bye...