Article View: gnu.gcc.bug
Article #6157Re: bug report
From: James Carlson
Date: Tue, 19 Nov 1996 00:00
Date: Tue, 19 Nov 1996 00:00
22 lines
1334 bytes
1334 bytes
In article <3291CEEC.777B1579@ub.uni-bielefeld.de>, befehl@ub.uni-bielefeld.de (Bernd Fehling) writes: [...] |> double input = 2.01; /* also with 4.02, 8.04, 16.08, ... */ [...] 2.01 does not have an exact representation standard IEEE base-2 floating point. |> My opinion is, that this is a problem of the compiler, isn't it? Not. It's normal round-off. Run, do not walk, to the nearest bookstore and buy any decent book on numerical analysis. I recommend Knuth's second volume for the basics, though it is tough reading for a beginner. -- James Carlson <carlson@xylogics.com> Tel: +1 617 272 8140 Annex Interface Development / Xylogics, Inc. +1 800 225 3317 53 Third Avenue / Burlington MA 01803-4491 Fax: +1 617 272 2618
Technical Details
Message-ID:
<56sq57$gcv@atlas.xylogics.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3291CEEC.777B1579@ub.uni-bielefeld.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113d02,3ae214ded2e93f17 X-Google-Attributes: gid113d02,public From: carlson@xylogics.com (James Carlson) Subject: Re: bug report Date: 1996/11/19 Message-ID: <56sq57$gcv@atlas.xylogics.com> X-Deja-AN: 197462264 sender: bug-gcc-request@prep.ai.mit.edu references: <3291CEEC.777B1579@ub.uni-bielefeld.de> organization: Xylogics Incorporated x-gateway: relay1.UU.NET from bug-gcc to gnu.gcc.bug; Tue, 19 Nov 1996 12:25:21 EST reply-to: carlson@xylogics.com newsgroups: gnu.gcc.bug