Definition at line 2053 of file mpreal.h.
2054{
2056#if (MPFR_VERSION >= MPFR_VERSION_NUM(3,1,0))
2057 mpfr_frexp(
exp,y.mpfr_ptr(),
x.mpfr_srcptr(),mode);
2058#else
2059 *
exp = mpfr_get_exp(y.mpfr_srcptr());
2060 mpfr_set_exp(y.mpfr_ptr(),0);
2061#endif
2062 return y;
2063}
const mpreal exp(const mpreal &x, mp_rnd_t r=mpreal::get_default_rnd())
References exp(), frexp(), mpfr::mpreal::get_default_rnd(), mpfr::mpreal::mpfr_ptr(), mpfr::mpreal::mpfr_srcptr(), and x.
Referenced by frexp(), and frexp().