*BSD News Article 10383


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA29 ; Wed, 27 Jan 93 13:11:09 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!sgiblab!darwin.sura.net!newsserver.jvnc.net!yale.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sunic!dkuug!flshub!phk
From: phk@data.fls.dk (P-HK/Poul-Henning Kamp)
Newsgroups: comp.unix.bsd
Subject: Re: Correct values for float.h, compiling gcc-2.3.3
Message-ID: <1993Jan26.083016.13402@data.fls.dk>
Date: 26 Jan 93 08:30:16 GMT
References: <1993Jan25.152028.10017@yrloc.ipsa.reuter.COM>
Organization: FLS Data A/S, Valby, Copenhagen, Denmark.
Lines: 21

bsd@yrloc.ipsa.reuter.COM (Brian de Alwis) writes:

>What exactly are the correct values for <float.h>?

>This problem has come up while attempting to compile gcc-2.3.3 (are
>there any patches out there? I couldn't find any, with my limited
>resources here). It seems that the build proceeds with no problems
>until enquire.c is compiled with the new xgcc. On line 2307, it
>craps out with a `floating point constant out of range'. I haven't
>had too much time to look at any further.

The problem lies with [efsv]printf and very small numbers, like the smallest
normalised number 2.225073858507201383090232717332404064219e-308
and the next smaller 2.22507385850720088902458687608585988765e-308 comming
out the same.

-- 
phk@data.fls.dk		  ||  The seven hazards of computing:
Poul-Henning Kamp	  ||  The hardware, the software, the supplier
FLS DATA A/S, Denmark	  ||  the application, the user, the operator
Phone: (+45) 36 18 12 35  ||  and the data.		Stan Kelly-Bootle