Macaulay2 Engine
Loading...
Searching...
No Matches
◆
compare_elems()
int
M2::ARingRR::compare_elems
(
const
ElementType
&
f
,
const
ElementType
&
g
) const
inline
Definition at line
92
of file
aring-RR.hpp
.
93
{
94
double
cmp = f - g;
95
if
(cmp < 0)
return
-1;
96
if
(cmp > 0)
return
1;
97
return
0;
98
}
Referenced by
almostEqual()
, and
almostEqual()
.
M2
ARingRR
Generated on
for Macaulay2 Engine by
1.15.0