🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6064

float.h

#6064
From: N8TM
Date: Fri, 13 Dec 1996 00:00
9 lines
978 bytes
While there may be other problems, I find 2 errors in <float.h> supplied
with my copy of gcc.  FLT_DIG is reported as 6 where 7 is correct.  This
goes way back to the original proposal, so it may be hard to get it
changed in the distribution.  DBL_MAX is given to only 16 digits, where 17
are required to obtain the correct binary value.  The correct value is
1.7976931348623157e308.  The value rounded of to 16 digits compiles to
Infinity and that is not the fault of the compiler!
Tim
Technical Details
Message-ID: <19961213022000.VAA24581@ladder01.news.aol.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,ce373ce11c1bb63d
X-Google-Attributes: gid113d02,public
From: n8tm@aol.com (N8TM)
Subject: float.h
Date: 1996/12/13
Message-ID: <19961213022000.VAA24581@ladder01.news.aol.com>
X-Deja-AN: 203820645
sender: bug-gcc-request@prep.ai.mit.edu
x-admin: news@aol.com
organization: AOL http://www.aol.com
x-gateway: relay7.UU.NET from bug-gcc to gnu.gcc.bug; Thu, 12 Dec 1996 21:21:20 EST
newsgroups: gnu.gcc.bug