Hmm, I assumed mpf had a complete set of operations. Are they just not implemented, or is mpf that useless?
Since mpf uses mpn as much as mpq, all operations should be about equally fast...
/ Mirar
Previous text:
2003-03-22 08:21: Subject: Re: Do we have a floatingpoint bug?
Gmp.mpf seems to be lacking in the sqrt()/pow() departement, which makes it hard to use for the guass-legrende PI formula.
Also, Gmp.mpq has some nice optimizations for dealing with operations where one of the operands is a small integer which makes it quite a bit faster.
/ Fredrik (Naranek) Hubinette (Real Build Master)