Macaulay2 Engine
Loading...
Searching...
No Matches
◆
remquo()
const
mpreal
mpfr::remquo
(
const
mpreal
&
x
,
const
mpreal
&
y
,
int
*
q
,
mp_rnd_t
rnd_mode
=
mpreal::get_default_rnd
()
)
inline
Definition at line
2511
of file
mpreal.h
.
2512
{
2513
long
lq;
2514
mpreal
a(0,(std::max)(y.
getPrecision
(),
x
.getPrecision()));
2515
mpfr_remquo(a.mpfr_ptr(), &lq,
x
.mpfr_srcptr(), y.
mpfr_srcptr
(), rnd_mode);
2516
if
(q) *q =
int
(lq);
2517
return
a;
2518
}
int
mpfr::mpreal::mpfr_srcptr
::mpfr_srcptr mpfr_srcptr() const
Definition
mpreal.h:1767
mpfr::mpreal::getPrecision
int getPrecision() const
Definition
mpreal.h:1985
mpfr::mpreal
Definition
mpreal.h:175
x
volatile int x
Definition
overflow-test.cpp:68
mpfr
Generated on
for Macaulay2 Engine by
1.15.0