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

◆ setPrecision()

mpreal & mpfr::mpreal::setPrecision ( int Precision,
mp_rnd_t RoundingMode = get_default_rnd() )
inline

Definition at line 1990 of file mpreal.h.

1991{
1992 mpfr_prec_round(mpfr_ptr(), Precision, RoundingMode);
1994 return *this;
1995}
::mpfr_ptr mpfr_ptr()
Definition mpreal.h:1765
#define MPREAL_MSVC_DEBUGVIEW_CODE
Definition mpreal.h:146

References mpfr_ptr(), mpreal(), MPREAL_MSVC_DEBUGVIEW_CODE, and setPrecision().

Referenced by isnum, and setPrecision().