MPFR version info

Patrick Pelissier Patrick.Pelissier at
Mon Jul 12 14:00:36 CEST 2004

> GMP has the global constant 'gmp_version' which provides the GMP version 
> number. Is there a comparable constant with MPFR ? If not, how does one 
> determine the version of MPFR (from within a program) ?

 The CVS version has the function mpfr_version () which returns
a constant string which is the version number at running time.
It provides also the MPFR_VERSION macro which provides the
version number at compiling time.
 The current stable version of MPFR doesn't have theses features.

 Do you need to know the version number at running time or at 
compiling time?

  Patrick Pelissier

More information about the gmp-discuss mailing list