ref: fff343349d880d63ff722f7baab777b7bc6fa5ce
parent: 9978126309d41e55c70a86fef08127c817f48bf9
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Sun Dec 20 18:35:22 EST 2020
Clarify signed magnitude in the growth_rate macro
--- a/data/growth_rates.asm
+++ b/data/growth_rates.asm
@@ -1,8 +1,8 @@
growth_rate: MACRO
; [1]/[2]*n**3 + [3]*n**2 + [4]*n - [5]
dn \1, \2
- if \3 & $80 ; signed
- db -\3 | $80
+ if \3 < 0
+ db -\3 | $80 ; signed magnitude
else
db \3
endc