MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / longlong2decimal

Function longlong2decimal

strings/decimal.c:1029–1034  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1027}
1028
1029int longlong2decimal(longlong from, decimal_t *to)
1030{
1031 if ((to->sign= from < 0))
1032 return ull2dec(-from, to);
1033 return ull2dec(from, to);
1034}
1035
1036int decimal2ulonglong(decimal_t *from, ulonglong *to)
1037{

Callers 1

int2my_decimalFunction · 0.85

Calls 1

ull2decFunction · 0.85

Tested by

no test coverage detected