Wierd. It can represent them, though, so it's probably just create(). Try "Gmp.mpq(1)+1e-50".
/ Mirar
Previous text:
2003-02-25 11:56: Subject: Re: Do we have a floatingpoint bug?
and i just noticed this: Gmp.mpf(Gmp.mpq(31415926,10000000)); also works.
Unfortunately it does not for bigger numbers:
Gmp.mpq(314159265358979323846264338327950288419716939937510582,
100000000000000000000000000000000000000000000000000000);
Bad arg 2 for Gmp.mpq(), expected integer.
/ Johan Sundström (a hugging punishment!)