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

◆ is_zero()

bool M2::ARingCCC::is_zero ( const ElementType & f) const
inline

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

105 {
106 return mpfr_cmp_si(&f.re, 0) == 0 && mpfr_cmp_si(&f.im, 0) == 0;
107 }

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

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