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

Function fxToNumericIntegerUnary

xs/sources/xsRun.c:4969–4977  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4967}
4968
4969txBoolean fxToNumericIntegerUnary(txMachine* the, txSlot* a, txBigIntUnary op)
4970{
4971 if (fxToNumericInteger(the, a))
4972 return 1;
4973 a->value.bigint = *(*op)(the, C_NULL, &a->value.bigint);
4974 a->kind = XS_BIGINT_KIND;
4975 the->stack = a;
4976 return 0;
4977}
4978
4979txBoolean fxToNumericIntegerBinary(txMachine* the, txSlot* a, txSlot* b, txBigIntBinary op)
4980{

Callers 1

xsRun.cFile · 0.85

Calls 1

fxToNumericIntegerFunction · 0.85

Tested by

no test coverage detected