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

◆ operator/() [7/8]

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

Definition at line 1521 of file mpreal.h.

1522{
1523 mpreal x(0, mpfr_get_prec(a.mpfr_srcptr()));
1524 mpfr_ui_div(x.mpfr_ptr(), b, a.mpfr_srcptr(), mpreal::get_default_rnd());
1525 return x;
1526}
::mpfr_srcptr mpfr_srcptr() const
Definition mpreal.h:1767
static mp_rnd_t get_default_rnd()
Definition mpreal.h:182
volatile int x