tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: raz () cee ! hw ! ac ! uk (Ross A Macintyre)
To: tru64-unix-managers
Subject: g++ and floating point calculations - bug?
Date: Mon, 13 Nov 1995 14:48:03 +0000	[thread overview]
Message-ID: <96075325006604.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~1995-11-13 14:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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