1af0de1f91
* same behavior for positive numbers * generalisation for negative numbers, treating them as two complement * improve algorithm, iterate once over the digits, manually perform two complement * simplify mp_add_d, mp_sub_d * functions are safe in case of a==c or b==c * renamed mp_tc_div_2d to mp_signed_rsh (signed right shift) |
||
---|---|---|
.. | ||
main.c | ||
opponent.c | ||
shared.h | ||
test.c | ||
timing.c |