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

Function fx_BigInt_bitLength

xs/sources/xsBigInt.c:200–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198}
199
200void fx_BigInt_bitLength(txMachine *the)
201{
202 txBigInt* arg = fxToBigInt(the, mxArgv(0), 1);
203 mxResult->value.integer = fxBigInt_bitsize(arg);;
204 mxResult->kind = XS_INTEGER_KIND;
205}
206
207void fx_BigInt_fromArrayBuffer(txMachine* the)
208{

Callers

nothing calls this directly

Calls 2

fxToBigIntFunction · 0.85
fxBigInt_bitsizeFunction · 0.85

Tested by

no test coverage detected