From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9843 invoked by alias); 17 Oct 2008 15:43:44 -0000 Received: (qmail 9522 invoked by uid 48); 17 Oct 2008 15:42:22 -0000 Date: Fri, 17 Oct 2008 15:43:00 -0000 Message-ID: <20081017154222.9521.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/37863] Display of a value close to 1 shows 2 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "domob at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-10/txt/msg01158.txt.bz2 ------- Comment #1 from domob at gcc dot gnu dot org 2008-10-17 15:42 ------- Confirmed on trunk, with this test: program pb write(*,'(F3.0)') 1.0d0 - 1.110223024625157D-16 end Changing decimals display to a value larger than 0 outputs 1 correctly. -- domob at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |domob at gcc dot gnu dot org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2008-10-17 15:42:22 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37863