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

◆ is_zero()

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

Definition at line 103 of file aring-CC.hpp.

104 {
105 return f.re == 0.0 and f.im == 0.0;
106 }

References cc_doubles_struct::im, and cc_doubles_struct::re.

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