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

◆ computeHashValue()

unsigned int M2::ARingCC::computeHashValue ( const elem & a) const
inline

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

93 {
94 double v = 12347. * a.re + 865800. * a.im;
95 return static_cast<unsigned int>(v);
96 }

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