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

Function i2b

strings/dtoa.c:916–924  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

914/* Convert integer to Bigint number */
915
916static Bigint *i2b(int i, Stack_alloc *alloc)
917{
918 Bigint *b;
919
920 b= Balloc(1, alloc);
921 b->p.x[0]= i;
922 b->wds= 1;
923 return b;
924}
925
926
927/* Multiply two Bigint numbers */

Callers 2

my_strtod_intFunction · 0.85
dtoaFunction · 0.85

Calls 1

BallocFunction · 0.85

Tested by

no test coverage detected