| 1382 | } |
| 1383 | |
| 1384 | txBigInt *fxBigInt_neg(txMachine* the, txBigInt *r, txBigInt *a) |
| 1385 | { |
| 1386 | if (r == NULL) |
| 1387 | r = fxBigInt_alloc(the, a->size); |
| 1388 | fxBigInt_copy(r, a); |
| 1389 | if (!fxBigInt_iszero(a)) |
| 1390 | r->sign = !a->sign; |
| 1391 | return(r); |
| 1392 | } |
| 1393 | |
| 1394 | txBigInt *fxBigInt_sub(txMachine* the, txBigInt *rr, txBigInt *aa, txBigInt *bb) |
| 1395 | { |
nothing calls this directly
no test coverage detected