MCPcopy Create free account
hub / github.com/Singular/Singular / n2Delete

Function n2Delete

Singular/number2.cc:464–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462 return r;
463}
464void n2Delete(number2 &d)
465{
466 if (d!=NULL)
467 {
468 if (d->cf!=NULL)
469 {
470 n_Delete(&d->n,d->cf);
471 nKillChar(d->cf);
472 }
473 omFreeSize(d,sizeof(*d));
474 d=NULL;
475 }
476}
477char *n2String(number2 d, BOOLEAN typed)
478{
479 StringSetS("");

Callers 6

iiNN2NFunction · 0.85
iiNN2PFunction · 0.85
s_internalDeleteFunction · 0.85
jiA_NUMBER2Function · 0.85
jiA_NUMBER2_IFunction · 0.85
jiA_NUMBER2_NFunction · 0.85

Calls 2

n_DeleteFunction · 0.85
nKillCharFunction · 0.85

Tested by

no test coverage detected