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

Function p2String

Singular/number2.cc:529–540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

527 }
528}
529char *p2String(poly2 d, BOOLEAN typed)
530{
531 StringSetS("");
532 if ((d!=NULL) && (d->cf!=NULL))
533 {
534 if (typed) StringAppendS("Poly(");
535 p_Write0(d->n,d->cf);
536 if (typed) StringAppendS(")");
537 }
538 else StringAppendS("oo");
539 return StringEndS();
540}
541
542void p2Print(poly2 d)
543{

Callers 1

p2PrintFunction · 0.85

Calls 4

StringSetSFunction · 0.85
StringAppendSFunction · 0.85
StringEndSFunction · 0.85
p_Write0Function · 0.50

Tested by

no test coverage detected