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

Function fxBigInt_isset

xs/sources/xsBigInt.c:1040–1044  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1038#endif
1039
1040int fxBigInt_isset(txBigInt *e, txU4 i)
1041{
1042 txU4 w = e->data[i / mxBigIntWordSize];
1043 return((w & ((txU4)1 << (i % mxBigIntWordSize))) != 0);
1044}
1045
1046/*
1047 * bitwise operations

Callers 5

fxBigInt_mod_exp_LRFunction · 0.85
fxBigInt_mont_exp_LRFunction · 0.85
fxBigInt_mont_exp_SWFunction · 0.85
fxBigInt_ec_mulFunction · 0.85
fxBigInt_expFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected