Definition at line 2881 of file mpreal.h.
2882{
2884#if (MPFR_VERSION >= MPFR_VERSION_NUM(4,0,0))
2885 mpfr_nrandom(
x.mpfr_ptr(),
state, rnd_mode);
2886#else
2887 mpfr_grandom(
x.mpfr_ptr(), NULL,
state, rnd_mode);
2888#endif
2890}
static gmp_randstate_t state
Referenced by mpfr::mpreal::grandom.