* DEC C++ suggestions
@ 1996-05-28 4:00 Andrew Staniszewski
1996-05-28 4:00 ` Andrew Staniszewski
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Staniszewski @ 1996-05-28 4:00 UTC (permalink / raw)
If anyone is listening ...
It would be nice if DEC C++ supported IEEE float ...
It would also be nice if it supported the post arm standard which makes the
code:
int foo(const char *const a[]);
int bar()
{
char *argv[];
foo(argv);
}
compile without a cast on the call to argv ...
--
------------------------------------------------------------------------------
Andrew Staniszewski
Sr. Software Engineer
Special Purpose Processing Group
Mayo Foundation
staniszewski.andrew@mayo.edu
Please Note: Unless otherwise specified, I speak only for myself, NOT as
a representative of the Special Purpose Processor Group or Mayo Foundation
------------------------------------------------------------------------------
------------------------------------------------------------------------------
A diamond is a lump of coal that stuck with the job
------------------------------------------------------------------------------
------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: DEC C++ suggestions 1996-05-28 4:00 DEC C++ suggestions Andrew Staniszewski @ 1996-05-28 4:00 ` Andrew Staniszewski 1996-05-31 4:00 ` Tom Carlson 0 siblings, 1 reply; 3+ messages in thread From: Andrew Staniszewski @ 1996-05-28 4:00 UTC (permalink / raw) 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. -- ------------------------------------------------------------------------------ Andrew Staniszewski Sr. Software Engineer Special Purpose Processing Group Mayo Foundation staniszewski.andrew@mayo.edu Please Note: Unless otherwise specified, I speak only for myself, NOT as a representative of the Special Purpose Processor Group or Mayo Foundation ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ A diamond is a lump of coal that stuck with the job ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: DEC C++ suggestions 1996-05-28 4:00 ` Andrew Staniszewski @ 1996-05-31 4:00 ` Tom Carlson 0 siblings, 0 replies; 3+ messages in thread From: Tom Carlson @ 1996-05-31 4:00 UTC (permalink / raw) 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1996-05-31 4:00 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox