aboutsummaryrefslogtreecommitdiff
path: root/bignum.h
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-01-18 14:28:59 -0500
committerB. Watson <yalhcru@gmail.com>2016-01-18 14:28:59 -0500
commitcf513e685ecfab5acfc5cf3ea0b9e67370915da8 (patch)
tree52cdf9694036efed5c571baa5705c2daf3175af8 /bignum.h
parent807708211e2206d3b21c9c6353203ee40bdfe30b (diff)
downloadtaipan-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bignum.h b/bignum.h
index 4bf754c..535ea65 100644
--- a/bignum.h
+++ b/bignum.h
@@ -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