Il 09/03/2011 12:49, Hans-Peter Diettrich ha scritto:
I'd check this just before the operation, then you won't get an
exception at all. You can wrap that in a MyLn function, if you need ln()
more often.
ok. I know. but my question is more general and it is:

The gui app handles this operation giving as result b = NaN or Inf and it does not raise any exception while the concole app raise an exception: External SIGFPE.

How can I obtain the same behaviour on my app both on GUI and console? Which options I have to check?

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to