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

Function p_String0Long

libpolys/polys/polys0.cc:203–220  ·  view source on GitHub ↗

print p in a long way...

Source from the content-addressed store, hash-verified

201
202/// print p in a long way...
203void p_String0Long(const poly p, ring lmRing, ring tailRing)
204{
205 // NOTE: the following (non-thread-safe!) UGLYNESS
206 // (changing naRing->ShortOut for a while) is due to Hans!
207 // Just think of other ring using the VERY SAME naRing and possible
208 // side-effects...
209 // but this is not a problem: i/o is not thread-safe anyway.
210 const BOOLEAN bLMShortOut = rShortOut(lmRing);
211 const BOOLEAN bTAILShortOut = rShortOut(tailRing);
212
213 lmRing->ShortOut = FALSE;
214 tailRing->ShortOut = FALSE;
215
216 p_String0(p, lmRing, tailRing);
217
218 lmRing->ShortOut = bLMShortOut;
219 tailRing->ShortOut = bTAILShortOut;
220}
221
222
223void p_String0(poly p, ring lmRing, ring tailRing)

Callers 2

naWriteLongFunction · 0.85
ntWriteLongFunction · 0.85

Calls 2

rShortOutFunction · 0.85
p_String0Function · 0.70

Tested by

no test coverage detected