Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Singular/Singular
/ ToStr
Function
ToStr
ppcc/adlib/str.cc:305–309 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
303
}
304
305
Str *ToStr(Int x) {
306
char buffer[sizeof(LongInt) * 4 + 1];
307
sprintf(buffer,
"%"
LONG_FMT
"d"
, (LongInt) x);
308
return S(buffer);
309
}
310
311
Str *ToStr(Word x) {
312
char buffer[sizeof(LongWord) * 4 + 1];
Callers
2
S
Function · 0.85
operator()
Method · 0.85
Calls
1
S
Function · 0.70
Tested by
1
operator()
Method · 0.68