Macaulay2 Engine
Loading...
Searching...
No Matches

◆ operator/() [2/8]

const mpreal mpfr::operator/ ( const int b,
const mpreal & a )
inline

Definition at line 1535 of file mpreal.h.

1536{
1537 mpreal x(0, mpfr_get_prec(a.mpfr_srcptr()));
1538 mpfr_si_div(x.mpfr_ptr(), b, a.mpfr_srcptr(), mpreal::get_default_rnd());
1539 return x;
1540}
::mpfr_srcptr mpfr_srcptr() const
Definition mpreal.h:1767
static mp_rnd_t get_default_rnd()
Definition mpreal.h:182
volatile int x