On Thu, Dec 23, 1999 at 03:43:37PM +0200, Sheldon Hearn wrote:
> The following code, compiled on a stock FreeBSD 4.0-CURRENT machine
> cores on SIGFPE. On a NetBSD 1.4.1 machine (gcc-2.91.60), the program
> prints the value of INT_MAX.
Try adding a fpsetmask(fpgetmask()&(~FP_X_OFL)); before the calculation
and see what happens.
David.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
- SIGFPE on arithmetic overflow Sheldon Hearn
- Re: SIGFPE on arithmetic overflow David Malone
- Re: SIGFPE on arithmetic overflow Sheldon Hearn
- Re: SIGFPE on arithmetic overflow Sheldon Hearn
- Re: SIGFPE on arithmetic overflow Bosko Milekic
- Re: SIGFPE on arithmetic overflo... Ben Smithurst
- Re: SIGFPE on arithmetic ove... Sheldon Hearn
- Re: SIGFPE on arithmetic... Martin Cracauer
- Re: SIGFPE on arithmetic... Sheldon Hearn
- Re: SIGFPE on arithmetic overflow Ronald F. Guilmette
- Re: SIGFPE on arithmetic overflow Markus Holmberg

