From: carlson@kikkin.zko.dec.com (Tom Carlson)
Subject: Re: DEC C++ suggestions
Date: 1996/05/31 [thread overview]
Message-ID: <4on3gk$4lo@zk2nws.zko.dec.com> (raw)
In-Reply-To: 4of75j$668@tribune.mayo.edu
In article <4of75j$668@tribune.mayo.edu>, stan@chirpa.mayo.edu (Andrew Staniszewski) writes:
|>
|>Dirk Grunwald <grunwald@foobar.cs.colorado.edu>
|>Organization: University of Colorado
|>Office: 7-10 ECOT (303) 492-0452
|>Www: http://www.cs.colorado.edu/~grunwald/Home.html
|>wrote:
|>
|>>In what was does DEC C++ not support IEEE floating point?
|>
|>see the ieee flags on the c89 compiler, expermentation has proven that
|>they do not work with the cxx compiler.
DEC C++ V5.3 on up supports the following IEEE-related switches,
consistent with the same switches for DEC C on Digital Unix. To the
best of my knowledge, there are no outstanding problems in this support.
-denorm Force denormalized constant numbers to zero when IEEE sup-
port is enabled.
-fprm option Specify rounding mode. The following options are supported:
c Round toward 0 (chop).
d Set rounding mode for IEEE floating-point instructions
dynamically, as determined from the contents of the
floating-point control register. The dynamic rounding
mode can be changed or read at execution time by a call
to write_rnd(3) or read_rnd(3). If you specify this
option, the IEEE floating-point rounding mode defaults
to round to nearest.
m Round toward minus infinity.
n Set normal rounding mode (unbiased round to nearest).
This is the default.
-fptm option Specify trapping mode. Only one option can be used on a com-
mand line. The following options are supported:
n Generate instructions that do not trigger floating-
point underflow or inexact trapping modes. Any float-
ing point overflow, divide-by-zero, or invalid opera-
tion will unconditionally generate a trap. This is the
default.
u Generate intructions that trap floating-point under-
flow, overflow, divide-by-zero, and invalid operations.
-ieee Support all portable features of the IEEE Standard for
Binary Floating-Point Arithmetic (ANSI/IEEE Standard 754-
1985), including the treatment of denormalized numbers,
NaNs, infinitities, and the handling of error cases. This
flag also sets the _IEEE_FP macro.
Tom
--
Thomas Carlson, DEC C/ DEC C++ carlson@decc.enet.dec.com
Digital Equipment Corporation, ZK2-3/N30
110 Spitbrook Rd,
Nashua, NH 03062
prev parent reply other threads:[~1996-05-31 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-05-28 4:00 DEC C++ suggestions Andrew Staniszewski
1996-05-28 4:00 ` Andrew Staniszewski
1996-05-31 4:00 ` Tom Carlson [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox