f OP1 and OP2. If OP1 and OP2 are both
     NaN, then ROP is set to NaN. If OP1 or OP2 is NaN, then ROP is set
     to the numeric value. If OP1 and OP2 are zeros of different signs,
     then ROP is set to -0.

 -- Function: int mpfr_max (mpfr_t ROP, mpfr_t OP1, mpfr_t OP2,
          mp_rnd_t RND)
     Set ROP to the maximum of OP1 and OP2. If OP1 and OP2 are both
     NaN, then ROP is set to NaN. If OP1 or OP2 is NaN, then ROP is set
     to the numeric value. If OP1 and OP2 are zeros of different signs,
     then ROP is set to +0.

 -- Function: int mpfr_urandomb (mpfr_t ROP, gmp_randstate_t STATE)
     Generate a uniformly distributed random float in the interval 0 <=
     ROP < 1. More precisely, the number can be seen as a float with a
     random non-normalized significand and exponent 0, which is then
     normalized (thus if E denotes the exponent after normalization,
     then the least -E significant bits of the significand are always
     0).  Return 0, unless the exponent is not in the current exponent
     range, in which case ROP is set to NaN and a non-zero value is
     returned (this should never happen in practice, except in very
     specific cases). The second argument is a `gmp_randstate_t'
     structure which should be created using the GMP `gmp_randinit'
     function, see the GMP manual.

 -- Function: void mpfr_random (mpfr_t ROP)
     Generate a uniformly distributed random float in the interval 0 <=
     ROP < 1.

     This function is deprecated and will be suppressed in the next
     release; `mpfr_urandomb' should be used instead.

 -- Function: void mpfr_random2 (mpfr_t ROP, mp_size_t SIZE, mp_exp_t
          EXP)
     Generate a random float of at most SIZE limbs, with long strings of
     zeros and ones in the binary representation. The exponent of the
     number is in the interval -EXP to EXP.  This function is useful for
     testing functions and algorithms, since this kind of random
     numbers have proven to be more likely to trigger corner-case bugs.
     Negative random numbers are generated when SIZE is negative.  Put
     +0 in ROP when size if zero. The internal state of the default
     pseudorandom number generator is modified by a call to this
     function (the same one as GMP if MPFR was built using
     `--with-gmp-build').

     This function is deprecated and will be suppressed in the next
     release.

 -- Function: mp_exp_t mpfr_get_exp (mpfr_t X)
     Get the exponent of X, assuming that X is a non-zero ordinary
     number and the significand is chosen in [1/2,1). The behavior for
     NaN, infinity or zero is undefined.

 -- Function: int mpfr_set_exp (mpfr_t X, mp_exp_t E)
     Set the exponent of X if E is in the current exponent range, and
     return 0 (even if X is not a non-zero ordinary number); otherwise,
     return a non-zero value.  The significand is assumed to be in
     [1/2,1).

 -- Function: int mpfr_signbit (mpfr_t OP)
     Return a non-zero value iff OP has its sign bit set (i.e. if it is
     negative, -0, or a NaN whose representation has its sign bit set).

 -- Function: int mpfr_setsign (mpfr_t ROP, mpfr_t OP, int S, mp_rnd_t
          RND)
     Set the value of ROP from OP, rounded toward the given direction
     RND, then set (resp. clear) its sign bit if S is non-zero (resp.
     zero), even when OP is a NaN.

 -- Function: int mpfr_copysign (mpfr_t ROP, mpfr_t OP1, mpfr_t OP2,
          mp_rnd_t RND)
     Set the value of ROP from OP1, rounded toward the given direction
     RND, then set its sign bit to that of OP2 (even when OP1 or OP2 is
     a NaN). This function is equivalent to `mpfr_setsign (ROP, OP1,
     mpfr_signbit (OP2), RND)'.

 -- Function: const char * mpfr_get_version (void)
     Return the MPFR version, as a null-terminated string.

 -- Macro: MPFR_VERSION
 -- Macro: MPFR_VERSION_MAJOR
 -- Macro: MPFR_VERSION_MINOR
 -- Macro: MPFR_VERSION_PATCHLEVEL
 -- Macro: MPFR_VERSION_STRING
     `MPFR_VERSION' is the version of MPFR as a preprocessing constant.
     `MPFR_VERSION_MAJOR', `MPFR_VERSION_MINOR' and
     `MPFR_VERSION_PATCHLEVEL' are respectively the major, minor and
     patch level of MPFR version, as preprocessing constants.
     `MPFR_VERSION_STRING' is the version (with an optional suffix, used
     in development and pre-release versions) as a string constant,
     which can be compared to the result of `mpfr_get_version' to check
     at run time the header file and library used match:
          if (strcmp (mpfr_get_version (), MPFR_VERSION_STRING))
            fprintf (stderr, "Warning: header and library do not match\n");
     Note: Obtaining different strings is not necessarily an error, as
     in general, a program compiled with some old MPFR version can be
     dynamically linked with a newer MPFR library version (if allowed
     by the library versioning system).

 -- Macro: long MPFR_VERSION_NUM (MAJOR, MINOR, PATCHLEVEL)
     Create an integer in the same format as used by `MPFR_VERSION'
     from the given MAJOR, MINOR and PATCHLEVEL.  Here is an example of
     how to check the MPFR version at compile time:
          #if (!defined(MPFR_VERSION) || (MPFR_VERSION<MPFR_VERSION_NUM(2,1,0)))
          # error "Wrong MPFR version."
          #endif

 -- Function: const char * mpfr_get_patches (void)
     Return a null-terminated string containing the ids of the patches
     applied to the MPFR library (contents of the `PATCHES' file),
     separated by spaces.  Note: If the program has been compiled with
     an older MPFR version and is dynamically linked with a new MPFR
     library version, the ids of the patches applied to the old
     (compile-time) MPFR version are not available (however this
     information should not have much interest in general).

