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

◆ negate()

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

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

240 {
241 mpfr_neg(&result.re, &a.re, MPFR_RNDN);
242 mpfr_neg(&result.im, &a.im, MPFR_RNDN);
243 }
VALGRIND_MAKE_MEM_DEFINED & result(result)

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

Referenced by elem_text_out(), syzygy(), TEST(), and testRingNegateCCC().