Re: [fpc-pascal] run time error 208

2008-02-17 Thread Marc Santhoff
Am Sonntag, den 17.02.2008, 20:46 +0100 schrieb Jonas Maebe: > On 17 Feb 2008, at 20:43, Marc Santhoff wrote: > > > The code for FreeBSD in question looks like this: > > > > case sig of > >SIGFPE : > > begin > >Case Info.si_code Of > >FPE_INTDIV : Res:=200;

Re: [fpc-pascal] run time error 208

2008-02-17 Thread Jonas Maebe
On 17 Feb 2008, at 20:43, Marc Santhoff wrote: The code for FreeBSD in question looks like this: case sig of SIGFPE : begin Case Info.si_code Of FPE_INTDIV : Res:=200; {integer divide fault. Div0?} FPE_FLTOVF : Res:=205; {Overflow trap}

Re: [fpc-pascal] run time error 208

2008-02-17 Thread Marc Santhoff
Am Sonntag, den 17.02.2008, 19:38 +0100 schrieb Jonas Maebe: > On 17 Feb 2008, at 19:19, Marc Santhoff wrote: > > > That's why I knew I had seen this number, it's in the procedure > > SignalToRunerror(), so I'm not so stupid after all. ;) > > > > Is there any other way of examining the cause besid

Re: [fpc-pascal] run time error 208

2008-02-17 Thread Jonas Maebe
On 17 Feb 2008, at 19:15, Florian Klaempfl wrote: Jonas Maebe schrieb: An unknown/unsupported fpu exception (in the FreeBSD rtl at least, on other platforms this is mapped to rte 207). At least it should be mapped to 207 on FreeBSD as well I suppose. I think so too. Jonas __

Re: [fpc-pascal] run time error 208

2008-02-17 Thread Jonas Maebe
On 17 Feb 2008, at 19:19, Marc Santhoff wrote: That's why I knew I had seen this number, it's in the procedure SignalToRunerror(), so I'm not so stupid after all. ;) Is there any other way of examining the cause besides looking at the values of the variables involved in the calculation? You

Re: [fpc-pascal] run time error 208

2008-02-17 Thread Marc Santhoff
Am Sonntag, den 17.02.2008, 19:01 +0100 schrieb Jonas Maebe: > On 17 Feb 2008, at 18:48, Marc Santhoff wrote: > > > and what is the cause and nature of error 208? > > An unknown/unsupported fpu exception (in the FreeBSD rtl at least, on > other platforms this is mapped to rte 207). That's why

Re: [fpc-pascal] run time error 208

2008-02-17 Thread Florian Klaempfl
Jonas Maebe schrieb: > > On 17 Feb 2008, at 18:48, Marc Santhoff wrote: > >> and what is the cause and nature of error 208? > > An unknown/unsupported fpu exception (in the FreeBSD rtl at least, on > other platforms this is mapped to rte 207). > At least it should be mapped to 207 on FreeBSD a

Re: [fpc-pascal] run time error 208

2008-02-17 Thread Jonas Maebe
On 17 Feb 2008, at 18:48, Marc Santhoff wrote: and what is the cause and nature of error 208? An unknown/unsupported fpu exception (in the FreeBSD rtl at least, on other platforms this is mapped to rte 207). Jonas ___ fpc-pascal maillist - fp

[fpc-pascal] run time error 208

2008-02-17 Thread Marc Santhoff
Hi, what makes a calculation like this: result := 4*Q / (pi*ny*d); throw an error: An unhandled exception occurred at $080897AB : Exception : Unknown Run-Time error : 208 and what is the cause and nature of error 208? (I feel a little stupid, I've searched the .pdf-docs and the freepa