Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not so much a bug, as slow!
#7
boriel Wrote:
britlion Wrote:As an addendum - if I ask it to calculate X^2 in the middle of the loop, it crashes the program. Calculating X*X works fine.
This is expected, unfortunately: ZX Basic uses the ROM, and a^b raises Invalid Argument if a < 0.

Wow. You're right. The ROM is completely wrong there. (-1 ^ 2 = 1). No, that's not your fault!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)