Marco van de Voort wrote:
In our previous episode, Tom Verhoeff said:
This means that the if statement is passed 7 times without problem with
x = -1, and on the 8th pass, where x = -1 again, it bails out with an FPE.
Hmm, didn't the x87 copro stack had 7ish registers? And recursive you say?
:-
In our previous episode, Tom Verhoeff said:
> What makes things complicated, is that the program has a GUI
> through Lazarus, and that it is rather biggish, making it difficult
> to isolate the problem.
>
> The place where it complains is a simple statement
Sorry, forgot to mention a test/remedy
In our previous episode, Tom Verhoeff said:
>
> This means that the if statement is passed 7 times without problem with
> x = -1, and on the 8th pass, where x = -1 again, it bails out with an FPE.
Hmm, didn't the x87 copro stack had 7ish registers? And recursive you say?
:-)
___
I have an application (for optimizing decisions in the dice game Yahtzee)
that uses Real and runs well with FPC on Mac OS X (PPC), but that
fails with a Floating Point Exception (FPE) under Windows (FPC 2.2.0).
What makes things complicated, is that the program has a GUI
through Lazarus, and that