From owner-freebsd-questions Wed Mar 3 6:32:26 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mailhub.scl.ameslab.gov (mailhub.scl.ameslab.gov [147.155.137.127]) by hub.freebsd.org (Postfix) with ESMTP id 81DA71549B for ; Wed, 3 Mar 1999 06:31:14 -0800 (PST) (envelope-from ghelmer@scl.ameslab.gov) Received: from demios.ether.scl.ameslab.gov ([147.155.137.54]) by mailhub.scl.ameslab.gov with esmtp (Exim 1.90 #1) id 10ICfE-0004tN-00; Wed, 3 Mar 1999 08:30:20 -0600 Date: Wed, 3 Mar 1999 08:29:43 -0600 From: Guy Helmer To: cjclark@home.com Cc: Andrew Johns , gjb@comkey.com.au, freebsd-questions@FreeBSD.ORG Subject: Re: FP Math In-Reply-To: <199903030719.CAA04352@cc942873-a.ewndsr1.nj.home.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 3 Mar 1999, Crist J. Clark wrote: > Andrew Johns wrote, > > "Crist J. Clark" wrote: > > > > > For example, the above program returns, > > > > > > inf > > > > > > On my SGI. > > > > > > > inf = infinity?? > > Yes, that is what the output means. > > > ie: overflow > > Yep. > > > ie: exception if overflow is not trapped > > Nope, there is no floating point exception, no trapping. > > > => SGI is merely trapping the oveflow. > > Right, which I would like my FreeBSD to do. This goes back to my > original question, that was dropped in the first response, how can I > make sure I am using IEEE STANDARD 754 Floating-Point Arithmetic, Have you looked at fpsetmask(3)? Guy Helmer Guy Helmer, Ph.D. Candidate, Iowa State University Dept. of Computer Science Research Assistant, Ames Laboratory --- ghelmer@scl.ameslab.gov Research Assistant, Dept. of Computer Science --- ghelmer@cs.iastate.edu http://www.cs.iastate.edu/~ghelmer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message