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

◆ negate()

mpreal & mpfr::negate ( mpreal & x)
inline

Definition at line 2047 of file mpreal.h.

2048{
2049 mpfr_neg(x.mpfr_ptr(),x.mpfr_srcptr(),mpreal::get_default_rnd());
2050 return x;
2051}
static mp_rnd_t get_default_rnd()
Definition mpreal.h:182
volatile int x

References mpfr::mpreal::get_default_rnd(), negate(), and x.

Referenced by negate().