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

◆ is_equal()

bool M2::ARingCCC::is_equal ( const ElementType & f,
const ElementType & g ) const
inline

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

110 {
111 return mpfr_cmp(&f.re, &g.re) == 0 && mpfr_cmp(&f.im, &g.im) == 0;
112 }

References cc_struct::im, and cc_struct::re.

Referenced by TEST().