MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxBigInt_fit

Function fxBigInt_fit

xs/sources/xsBigInt.c:1002–1013  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1000}
1001
1002txBigInt *fxBigInt_fit(txMachine* the, txBigInt *r)
1003{
1004 int i = r->size;
1005 while (i > 0) {
1006 i--;
1007 if (r->data[i])
1008 break;
1009 }
1010 r->size = (txU2)(i + 1);
1011 mxBigInt_meter(r->size);
1012 return r;
1013}
1014
1015
1016#if mxWindows

Callers 7

fx_BigInt_asIntNFunction · 0.85
fx_BigInt_asUintNFunction · 0.85
fxBigInt_andFunction · 0.85
fxBigInt_orFunction · 0.85
fxBigInt_xorFunction · 0.85
fxBigInt_lslFunction · 0.85
fxBigInt_lsrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected