diff options
author | B. Watson <yalhcru@gmail.com> | 2016-01-18 14:28:59 -0500 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2016-01-18 14:28:59 -0500 |
commit | cf513e685ecfab5acfc5cf3ea0b9e67370915da8 (patch) | |
tree | 52cdf9694036efed5c571baa5705c2daf3175af8 /bignum.h | |
parent | 807708211e2206d3b21c9c6353203ee40bdfe30b (diff) | |
download | taipan-cf513e685ecfab5acfc5cf3ea0b9e67370915da8.tar.gz |
fix big_negate, allow lowercase z in firm name, tighten up bigfloat.s
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 |