12 #if !defined(RANDOMLIB_MPFRUNIFORM_HPP)
13 #define RANDOMLIB_MPFRUNIFORM_HPP 1
17 #if HAVE_MPFR || defined(DOXYGEN)
49 { Compute(r); _x.swap(t); }
59 int operator()(mpfr_t val, gmp_randstate_t r, mpfr_rnd_t round)
const
60 { Compute(r);
return _x(val, r, round); }
65 void Compute(gmp_randstate_t )
const { _x. Init(); }
66 mutable MPFRRandom<bits> _x;
72 #endif // RANDOMLIB_MPFRUNIFORM_HPP
Handling random numbers in MPFR.