Macaulay2 Engine
Loading...
Searching...
No Matches
◆
elem_text_out()
void M2::ARingZZpFlint::elem_text_out
(
buffer
&
o
,
ElementType
a
,
bool
p_one
=
true
,
bool
p_plus
=
false
,
bool
p_parens
=
false
) const
Definition at line
30
of file
aring-zzp-flint.cpp
.
35
{
36
(void) p_parens;
37
long
n =
coerceToLongInteger
(a);
38
if
(n < 0)
39
{
40
o <<
'-'
;
41
n = -n;
42
}
43
else
if
(p_plus)
44
o <<
'+'
;
45
if
(p_one || n != 1) o << n;
46
}
M2::ARingZZpFlint::coerceToLongInteger
long coerceToLongInteger(const elem &f) const
Definition
aring-zzp-flint.hpp:105
References
coerceToLongInteger()
.
M2
ARingZZpFlint
Generated on
for Macaulay2 Engine by
1.15.0