From cf513e685ecfab5acfc5cf3ea0b9e67370915da8 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 18 Jan 2016 14:28:59 -0500 Subject: fix big_negate, allow lowercase z in firm name, tighten up bigfloat.s --- bignum.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bignum.h') 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 -- cgit v1.2.3