Macaulay2 Engine
Loading...
Searching...
No Matches

◆ divide()

void M2::ARingQQFlint::divide ( ElementType & result,
const ElementType & a,
const ElementType & b ) const
inline

test doc

Definition at line 214 of file aring-qq-flint.hpp.

217 {
218 if (is_zero(b)) throw exc::division_by_zero_error();
219 fmpq_div(&result, &a, &b);
220 }
bool is_zero(const ElementType &f) const
VALGRIND_MAKE_MEM_DEFINED & result(result)

References is_zero(), and result().

Referenced by syzygy(), and TEST().