Skip to content

Commit

Permalink
Clarify signed magnitude in the growth_rate macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Rangi42 committed Dec 21, 2020
1 parent 9978126 commit fff3433
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/growth_rates.asm
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit fff3433

Please sign in to comment.