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

◆ negate()

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

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

195 {
196 mpfr_neg(&result, &a, MPFR_RNDN);
197 }
VALGRIND_MAKE_MEM_DEFINED & result(result)

References result().

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