[fpc-devel]bugs to close
Florian Klaempfl
Florian.Klaempfl at gmx.de
Tue Nov 25 13:25:15 CET 2003
Johannes Berg wrote:
> On Tue, 2003-11-25 at 12:00, Johannes Berg wrote:
>
>>I'll investigate the signal handling issue(s) and see if its possible to
>>handle SIGFPE properly.
>
>
> This is already implemented, at least on linux. So why is there even a
> check?
Which checks do you mean exactly?
I guess the poster meant that e.g. (-3)^2 is possible in inside real
numbers however the default forumula exp(2*ln(-3)) faults on it.
> If I do
> writeln(ln(a)) where a:extended=0
> then I get a SIGFPE which is handled and converted to a runtime error or
> exception (depending on having sysutils or not).
>
> johannes
More information about the fpc-devel
mailing list