Definition at line 105 of file relem.cpp.
106{
108 {
109 ERROR(
"ring division requires both elements to have the same base ring");
110 return nullptr;
111 }
113 {
114 ERROR(
"ring division: attempt to divide by zero");
115 return nullptr;
116 }
118 if (
error())
return nullptr;
120}
RingElement(const Ring *R, ring_elem f)
ring_elem get_value() const
const Ring * get_ring() const
VALGRIND_MAKE_MEM_DEFINED & result(result)
References ERROR, error(), get_ring(), get_value(), is_zero(), R, result(), and RingElement().