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

◆ add()

void M2::ARingRRR::add ( ElementType & result,
const ElementType & a,
const ElementType & b ) const
inline

Definition at line 205 of file aring-RRR.hpp.

208 {
209 mpfr_add(&result, &a, &b, MPFR_RNDN);
210 }
VALGRIND_MAKE_MEM_DEFINED & result(result)

References result().

Referenced by TEST(), TEST(), TEST(), and testRingNegateRRR().