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

◆ operator-() [8/8]

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

Definition at line 1334 of file mpreal.h.

1335{
1336 mpreal x(0, mpfr_get_prec(a.mpfr_ptr()));
1337 mpfr_ui_sub(x.mpfr_ptr(), b, a.mpfr_srcptr(), mpreal::get_default_rnd());
1338 return x;
1339}
::mpfr_srcptr mpfr_srcptr() const
Definition mpreal.h:1767
static mp_rnd_t get_default_rnd()
Definition mpreal.h:182
::mpfr_ptr mpfr_ptr()
Definition mpreal.h:1765
volatile int x