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

◆ operator-=() [1/11]

mpreal & mpfr::mpreal::operator-= ( const double u)
inline

Definition at line 1267 of file mpreal.h.

1268{
1269#if (MPFR_VERSION >= MPFR_VERSION_NUM(2,4,0))
1270 mpfr_sub_d(mpfr_ptr(),mpfr_srcptr(),v,mpreal::get_default_rnd());
1271#else
1272 *this -= mpreal(v);
1273#endif
1274
1276 return *this;
1277}
::mpfr_srcptr mpfr_srcptr() const
Definition mpreal.h:1767
::mpfr_ptr mpfr_ptr()
Definition mpreal.h:1765
#define MPREAL_MSVC_DEBUGVIEW_CODE
Definition mpreal.h:146

References get_default_rnd(), mpfr_ptr(), mpfr_srcptr(), mpreal(), MPREAL_MSVC_DEBUGVIEW_CODE, and operator-=().