Implements Ring.
Definition at line 114 of file ZZp.cpp.
119{
120 (void) p_parens;
121 int n =
to_int(a.get_int());
122 if (n < 0)
123 {
124 o << '-';
125 n = -n;
126 }
127 else if (p_plus)
128 o << '+';
129 if (p_one || n != 1) o << n;
130}
References ring_elem::get_int(), and to_int().
Referenced by TEST().