Jonas Maebe wrote:
SetExceptionMask([exDenormalized,exOverflow,exPrecision]);
Thank you all for your answers, that will do just fine! Too bad though
that it not that obvious in the documentation, which I browsed for many
hours before posting to this list.
Thank you,
Dimitris
_
On 11 apr 2006, at 01:45, Dimitrios Apostolou wrote:
when a real number overflows the program halts with EInvalidOp
error. How can I make the program behave the more standard way,
where the variable gets the value "inf" and execution continues
normally?
I'm not sure if overflow immediate
> Thank you very much, this solves the problem though I think that
> performance-wise it is not optimal. What is the reason for freepascal
> being not IEEE-spec compliant? Is it backwards compatibility?
FPC is IEEE-spec compliant, since all computer follow up floating point
standard. It should fol
Dimitris Apostolou wrote:
>>> when a real number overflows the program halts with EInvalidOp error.
>>> How can I make the program behave the more standard way, where the
>>> variable gets the value "inf" and execution continues normally? This
> is
>>> vital for many tasks, like fractal computatio
> > when a real number overflows the program halts with EInvalidOp error.
> > How can I make the program behave the more standard way, where the
> > variable gets the value "inf" and execution continues normally? This
is
> > vital for many tasks, like fractal computation.
>
> You can use try..exc
Dimitris,
> when a real number overflows the program halts with EInvalidOp error.
> How can I make the program behave the more standard way, where the
> variable gets the value "inf" and execution continues normally? This is
> vital for many tasks, like fractal computation.
You can use try..excep