*BSD News Article 10361


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA7822 ; Tue, 26 Jan 93 16:00:13 EST
Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!uwm.edu!cs.utexas.edu!uunet!uunet.ca!geac!itcyyz!yrloc!bsd
From: bsd@yrloc.ipsa.reuter.COM (Brian de Alwis)
Subject: Correct values for float.h, compiling gcc-2.3.3
Message-ID: <1993Jan25.152028.10017@yrloc.ipsa.reuter.COM>
Reply-To: bsd@yrloc.ipsa.reuter.COM (Brian de Alwis)
Organization: I P Sharp Associates, Toronto
Date: Mon, 25 Jan 93 15:20:28 GMT
Lines: 20

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.

When I tried compiling enquire with the `stock' gcc-1.39, it manages
to compile properly, but dumps core with a precision exception when
commencing the double tests. I think it may be my implementation of
strtod (from the Tcl distribution).

Any suggestions?

Thanks.
-- 
Brian de Alwis -- bsd@yrloc.ipsa.reuter.com
             bsdealwi@undergrad.math.uwaterloo.ca