Reimplemented from Ring.
Definition at line 378 of file GF.cpp.
379{
381 {
383 if (m <= 0) m +=
Q1_;
384 return ring_elem(m);
385 }
386 else
387 {
388
389 if (n == 0)
390 return ring_elem(
_ONE);
391 else if (n > 0)
392 return ring_elem(
_ZERO);
393 else
394 throw exc::division_by_zero_error();
395 }
396}
References _ONE, _ZERO, ring_elem::get_int(), and Q1_.