*BSD News Article 63497


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.uoknor.edu!news.nodak.edu!netnews1.nwnet.net!news.u.washington.edu!news.alt.net!nntp1.jpl.nasa.gov!news.magicnet.net!news.sprintlink.net!ns1.tstt.net.tt!news
From: feisal@tstt.net.tt (Feisal Mohammed)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Floating Point Exceptions
Date: 1 Mar 1996 22:22:56 GMT
Organization: Telecommunications Services of Trinidad and Tobago	
Lines: 18
Sender: feisal@lancelot.valsayn.tt (Feisal Mohammed)
Message-ID: <4h7tc0$fqu@ns1.tstt.net.tt>
References: <4gqv91$r88@susscsc1.rdg.ac.uk> <4gta47$1bs@uriah.heep.sax.de>
NNTP-Posting-Host: cuscon16s.tstt.net.tt
X-Newsreader: knews 0.9.3

In article <4gta47$1bs@uriah.heep.sax.de>,
	j@uriah.heep.sax.de (J Wunsch) writes:
>FreeBSD doesn't really support full IEEE floatinpoint.
>
>If your program carefully checks for the exceptions, you might try
>
>#include <machine/floatingpoint.h>
>...
>	fpsetmask(0);
I tried this on one particular program RLaB, and got NaNs etc,
but on exiting I get a message that RLaB exited with masked
floating point exceptions. Can I ignore this message or do I have
to actually reset the masks to default.
-- 
Feisal Mohammed <feisal@tstt.net.tt>   Ph: 1-809-662-2002 x3171
Dept. of Mechanical Engineering, University of the West Indies.