[fpc-pascal] position of External: SIGFPE
Xiangrong Fang
xrfang at gmail.com
Mon Mar 25 01:55:46 CET 2013
Hi,
Why the "External: SIGFPE" error not reported on the line it was generated?
e.g. In the following code:
1: if SomeCondition then begin
2: Y := exp(Y);
3: end;
4: d := Data[X];
The SIGFPE is generated on line 2, because Y is too big. But while the
program is running in IDE, it told me that line 4 is generating SIGFPE?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130325/0dde6621/attachment.html>
More information about the fpc-pascal
mailing list