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

Function fxBigInt_not

xs/sources/xsBigInt.c:1050–1059  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1048 */
1049
1050txBigInt *fxBigInt_not(txMachine* the, txBigInt *r, txBigInt *a)
1051{
1052 if (a->sign)
1053 r = fxBigInt_usub(the, r, a, (txBigInt *)&gxBigIntOne);
1054 else {
1055 r = fxBigInt_uadd(the, r, a, (txBigInt *)&gxBigIntOne);
1056 r->sign = 1;
1057 }
1058 return(r);
1059}
1060
1061txBigInt *fxBigInt_and(txMachine* the, txBigInt *r, txBigInt *a, txBigInt *b)
1062{

Callers

nothing calls this directly

Calls 2

fxBigInt_usubFunction · 0.85
fxBigInt_uaddFunction · 0.85

Tested by

no test coverage detected