aboutsummaryrefslogtreecommitdiff
path: root/bignum.h
diff options
context:
space:
mode:
Diffstat (limited to 'bignum.h')
-rw-r--r--bignum.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bignum.h b/bignum.h
index a79f60e..501d47c 100644
--- a/bignum.h
+++ b/bignum.h
@@ -92,6 +92,9 @@ 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);
+/* dest = src * -1 */
+extern void __fastcall__ big_negate(bignump dest, bignump src);
+
/* 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
prototype is here rather than bank.h. For Atari floats, it's 1.0e+14, or