🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.fortran
Article #6463

Functions to modify IEEE floating point?

#6463
From: David E. Bernholdt
Date: Mon, 05 Mar 1990 19:34
28 lines
1468 bytes
I use Sun systems, which follows the ANSI/IEEE 754-1985 standard for
floating point arithmetic.  Sun provides a number of functions to
manipulate the actions of the system.  For example, the Fortran
functions
	ieee_flags
	ieee_handler
	sigfpe
and the include file <f77/f77_floatingpoint.h>

They also provide things like
	gradual_underflow()
	abrupt_underflow()
which can turn on or off the standard IEEE handling of underflows in
order to save comuptation time, and
	ieee_retrospective
which can be called anywhere to provide a summary of the IEEE
exceptions which have occurred so far.

Are these routines available on all machines which follow IEEE
floating point?  Do they have the same names or just similar
functionality?  Unfortunately, I don't have access to any other IEEE
machines to look at.  Any help is appreciated.
-- 
David Bernholdt			bernhold@qtp.ufl.edu
Quantum Theory Project		bernhold@ufpine.bitnet
University of Florida
Gainesville, FL  32611		904/392 6365
Technical Details
Message-ID: <938@orange19.qtp.ufl.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!uflorida!ufqtp!bernhold

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!uflorida!ufqtp!bernhold
From: bernhold@qtp.ufl.edu (David E. Bernholdt)
Newsgroups: comp.lang.fortran,sci.math.num-analysis
Subject: Functions to modify IEEE floating point?
Message-ID: <938@orange19.qtp.ufl.edu>
Date: 5 Mar 90 19:34:55 GMT
Reply-To: bernhold@qtp.ufl.edu (David E. Bernholdt)
Organization: University of Florida Quantum Theory Project
Lines: 28