Macaulay2 Engine
Loading...
Searching...
No Matches
◆
llround()
long long mpfr::llround
(
const
mpreal
&
v
)
inline
Definition at line
2756
of file
mpreal.h
.
2757
{
2758
long
long
r = std::numeric_limits<long long>::min();
2759
mpreal
x
=
round
(v);
2760
if
(
abs
(
x
) < -
mpreal
(r))
// Assume mpreal(LLONG_MIN) is exact
2761
r =
x
.toLLong();
2762
return
r;
2763
}
mpfr::mpreal
Definition
mpreal.h:175
mpfr::round
const mpreal round(const mpreal &v)
Definition
mpreal.h:2740
x
volatile int x
Definition
overflow-test.cpp:68
abs
#define abs(x)
Definition
polyroots.cpp:51
mpfr
Generated on
for Macaulay2 Engine by
1.15.0