Macaulay2 Engine
Loading...
Searching...
No Matches
◆
elem_text_out()
void M2::ARingRRi::elem_text_out
(
buffer
&
o
,
const
ElementType
&
a
,
bool
p_one
,
bool
p_plus
,
bool
p_parens
) const
Definition at line
6
of file
aring-RRi.cpp
.
11
{
12
(void) p_parens;
13
14
if
(p_plus)
15
o <<
"+"
;
16
17
// TODO: how do we want to handle -1? intervals w/ matching endpoints?
18
if
(p_one || mpfr_cmp_si(&ap.left, 1) != 0 || mpfr_cmp_si(&ap.right, 1) != 0)
19
o << ≈
20
}
M2
ARingRRi
Generated on
for Macaulay2 Engine by
1.15.0