home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.bsd
- Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!udel!darwin.sura.net!zaphod.mps.ohio-state.edu!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!ames!eos!aio!poirot
- From: poirot@aio.jsc.nasa.gov (Daniel T. Poirot/LESC)
- Subject: Re: floating point exceptions (DBL_MIN DBL_MAX)
- Message-ID: <1993Jan26.143646.24315@aio.jsc.nasa.gov>
- Keywords: signal 6, gcc2.3.3
- Organization: NASA Johnson Space Center
- References: <31080@toad.com>
- Date: Tue, 26 Jan 1993 14:36:46 GMT
- Lines: 23
-
- In article <31080@toad.com> curt@toad.com (Curt Mayer) writes:
- >alright, so i reinstalled from ground zero for the 4th time, installed
- >the latest patch kit from agate, recompiled the world, so why do i
- >still get these signal 6's all over the place when trying to recompile ?
-
- The problem is in DBL_MAX and DBL_MIN in /usr/include/float.h. I
- changed them to:
-
- #define DBL_MIN 2.2250738585072014E-308
- #define DBL_MAX 1.7976931348623157E+308
-
- and STILL got 'signal 6's all over the place' (particularly in
- recompiling g++). I then changed DBL_MAX to 1.7976931348623147E+308
- (note second to last digit) and had better luck.
-
- I would really like to see a definitive answer on this and see it fixed
- in the distribution files or patchkit.
-
- --
- Daniel Poirot poirot@aio.jsc.nasa.gov
- NASA JSC "The mind is a terrible thing."
- ER3 tel: (713)483-8793
- Houston, TX 77058 fax: (713)483-3204
-