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

◆ subtract()

void M2::ARingCCC::subtract ( ElementType & result,
const ElementType & a,
const ElementType & b ) const
inline

Definition at line 310 of file aring-CCC.hpp.

313 {
314 mpfr_sub(&result.re, &a.re, &b.re, MPFR_RNDN);
315 mpfr_sub(&result.im, &a.im, &b.im, MPFR_RNDN);
316 }
VALGRIND_MAKE_MEM_DEFINED & result(result)

References cc_struct::im, cc_struct::re, and result().

Referenced by almostEqual(), subtract_multiple(), and TEST().