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

Function fxToNumericNumberUnary

xs/sources/xsRun.c:5006–5014  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5004}
5005
5006txBoolean fxToNumericNumberUnary(txMachine* the, txSlot* a, txBigIntUnary op)
5007{
5008 if (fxToNumericNumber(the, a))
5009 return 1;
5010 a->value.bigint = *(*op)(the, C_NULL, &a->value.bigint);
5011 a->kind = XS_BIGINT_KIND;
5012 the->stack = a;
5013 return 0;
5014}
5015
5016txBoolean fxToNumericNumberBinary(txMachine* the, txSlot* a, txSlot* b, txBigIntBinary op)
5017{

Callers 1

xsRun.cFile · 0.85

Calls 1

fxToNumericNumberFunction · 0.85

Tested by

no test coverage detected