tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* g++ and floating point calculations - bug?
@ 1995-11-13 14:48 raz
  0 siblings, 0 replies; only message in thread
From: raz @ 1995-11-13 14:48 UTC (permalink / raw)
  To: tru64-unix-managers

Are there known problems with g++ and floating point precision on the Alphas?
We're running gcc 2.6.0 and libg++-2.6.

I have had 2 students complain recently that 
1. setprecision(2) did not work properly, 
and
2. The bug is with iomanip and floating point values... in that I say 
   "1 decimal place, please" and get about 5,

This is only on the alphas and I am told the code works fine for the same 
versions of gcc/libg++ on other architectures.

If this is a known bug and is fixed in a certain release, could you tell me
what in what release it is fixed?
I don't want to change all the versions of gcc in mid term and would like to
know if this could easily be fixed by say a quick upgrade of libg++.

Thanks in advance,

Ross

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-11-13 14:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-11-13 14:48 g++ and floating point calculations - bug? raz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox