No mod for mpf_t?

Marc Glisse marc.glisse at
Mon Aug 24 20:12:12 CEST 2009

On Mon, 24 Aug 2009, Matthew Lai wrote:

> I have only been using GMP for a few hours, but out of curiosity, is there no 
> modulus for mpf_t? I can't find any mentioning of it in the manual, and 
> Google didn't turn up any relevant discussion about this either. If not, why 
> not?

mpfr has one, and the gmplib website recommends using mpfr rather than mpf 
for new projects.

Marc Glisse

More information about the gmp-discuss mailing list