MCPcopy Create free account
hub / github.com/Singular/Singular / operator==

Function operator==

Singular/dyn_modules/python/Number.h:245–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243 return erg;
244}
245inline bool operator==(const Number &n1, const Number& n2)
246{
247 if(n1.r!=n2.r)
248 return false;
249 return n_Equal(n1.n,n2.n,n1.r.get()->cf);
250}
251inline Number operator+(const Number &n1, int n2)
252{
253 Number erg(n1);

Callers

nothing calls this directly

Calls 3

n_EqualFunction · 0.85
NumberClass · 0.70
getMethod · 0.45

Tested by

no test coverage detected