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

◆ is_zero()

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

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

104 { return mpfr_cmp_si(&(f.im.left), 0) == 0 and mpfr_cmp_si(&(f.im.right), 0) == 0 and
105 mpfr_cmp_si(&(f.re.left), 0) == 0 and
106 mpfr_cmp_si(&(f.re.right), 0) == 0; }

References cci_struct::im, and cci_struct::re.

Referenced by is_unit(), and syzygy().