From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075325006604.tru64-unix-managers.marc@archive.invalid> From: raz () cee ! hw ! ac ! uk (Ross A Macintyre) Date: Mon, 13 Nov 1995 14:48:03 +0000 To: tru64-unix-managers Subject: g++ and floating point calculations - bug? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075325006604 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