*BSD News Article 65526


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!hobyah.cc.uq.oz.au!bunyip.cc.uq.oz.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!iol!gate.ohs.ie!usenet
From: steveo@gate.ohs.ie (Steve O'Hara-Smith)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: gdb on freeBSD
Date: 7 Apr 1996 09:11:36 GMT
Organization: Steve O'Hara-Smith
Lines: 20
Sender: root@gate.ohs.ie (Steve O'Hara-Smith)
Message-ID: <4k80s8$tm@gate.ohs.ie>
References: <4jtg1o$kam@holodeck.iss.nus.sg> <4k770o$er6@uriah.heep.sax.de>
NNTP-Posting-Host: dialup-303.dublin.iol.ie
X-Newsreader: knews 0.9.6

In article <4k770o$er6@uriah.heep.sax.de>,
	j@uriah.heep.sax.de (J Wunsch) writes:
>kongwah@iss.nus.sg (Wan Kong Wah) writes:
>
>> Program received signal SIGFPE, Arithmetic exception.
>> 0x8051bd2 in __ieee754_exp ()

	You probably need to add

#include <floatingpoint.h>
.
	fpsetmask (0);
	
	to your program to stop FreeBSD core dumping with an FPE when it gets
overflows and underflows etc. and return Inf and NaN instead.

-------------------------------------------------------------------------------
Steve O'Hara-Smith
E-Mail: steveo@iol.ie