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

◆ dim()

const mpreal mpfr::dim ( const mpreal & a,
const mpreal & b,
mp_rnd_t r = mpreal::get_default_rnd() )
inline

Definition at line 2272 of file mpreal.h.

2273{
2274 mpreal y(0, mpfr_get_prec(a.mpfr_srcptr()));
2275 mpfr_dim(y.mpfr_ptr(), a.mpfr_srcptr(), b.mpfr_srcptr(), r);
2276 return y;
2277}
::mpfr_srcptr mpfr_srcptr() const
Definition mpreal.h:1767