Macaulay2 Engine
Loading...
Searching...
No Matches
◆
round_error()
mpfr::mpreal
std::numeric_limits<
mpfr::mpreal
>::round_error
(
mp_prec_t
precision
=
mpfr::mpreal::get_default_prec()
)
inline
static
Definition at line
3281
of file
mpreal.h
.
3282
{
3283
mp_rnd_t r =
mpfr::mpreal::get_default_rnd
();
3284
3285
if
(r == GMP_RNDN)
return
mpfr::mpreal(0.5, precision);
3286
else
return
mpfr::mpreal(1.0, precision);
3287
}
mpfr::mpreal::get_default_rnd
static mp_rnd_t get_default_rnd()
Definition
mpreal.h:182
std
numeric_limits< mpfr::mpreal >
Generated on
for Macaulay2 Engine by
1.15.0