The _sprintf support for mpf doesn't seem to be very advanced. :/ In effect, all it does is a cast-to-string:
case 'f': f_mpf_get_string(0); return;
/ Mirar
Previous text:
2003-02-25 11:12: Subject: Re: Do we have a floatingpoint bug?
sprintf("%.10f", Gmp.mpf(3580,100));
(47) Result: "3.58e3"
sprintf("%.10f", Gmp.mpq(3580,100));
(48) Result: "35.8000000000"
The first looks like a _sprintf bug to me; shouldn't it have returned "3580.0000000000" instead?
/ Johan Sundström (a hugging punishment!)