diff options
Diffstat (limited to 'bignum.h')
-rw-r--r-- | bignum.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -79,8 +79,8 @@ extern char __cdecl__ big_sub(bignump dest, bignump minuend, bignump subtrahend) extern char __cdecl__ big_mul(bignump dest, bignump multiplicand, bignump multiplier); extern char __cdecl__ big_div(bignump dest, bignump dividend, bignump divisor); -/* negation: dest = src * -1, or dest = -src if you prefer. */ -extern void __fastcall__ big_negate(bignump dest, bignump src); +/* negation: b = -b, or b *= -1 */ +extern void __fastcall__ big_negate(bignump b); /* returns true if the bank is maxed out. We do this by checking the exponent byte, so the "max" is tied to the bignum implementation, which is why its |