summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn van Groningen2004-05-10 11:51:25 +0000
committerJohn van Groningen2004-05-10 11:51:25 +0000
commit1409da89aa137adca2ac2924dbfd2da19b02d3aa (patch)
tree3209557ceec8c073eb416587095a7412670fa772
parentadd -stdwin flag to send std io to Console/Message window instead (diff)
fix computation of negative number to the power of an even number
-rw-r--r--istartup.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/istartup.s b/istartup.s
index 8c75531..c5fc2f7 100644
--- a/istartup.s
+++ b/istartup.s
@@ -5211,10 +5211,10 @@ pow_negative:
testl $1,12(sp)
fstp %st(1)
- add $16,sp
jz exponent_even
fchs
exponent_even:
+ add $16,sp
ret
pow_zero: