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

◆ set()

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

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

164 {
165 mpfr_set(&result.re, &a.re, MPFR_RNDN);
166 mpfr_set(&result.im, &a.im, MPFR_RNDN);
167 }
VALGRIND_MAKE_MEM_DEFINED & result(result)

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

Referenced by copy(), divide(), divide(), from_ring_elem(), mult(), mult(), M2::mylift(), M2::mypromote(), power(), syzygy(), and to_ring_elem().