home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / bsd / 11839 < prev    next >
Encoding:
Text File  |  1993-01-27  |  1.4 KB  |  35 lines

  1. Newsgroups: comp.unix.bsd
  2. 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
  3. From: poirot@aio.jsc.nasa.gov (Daniel T. Poirot/LESC)
  4. Subject: Re: floating point exceptions (DBL_MIN DBL_MAX)
  5. Message-ID: <1993Jan26.143646.24315@aio.jsc.nasa.gov>
  6. Keywords: signal 6, gcc2.3.3
  7. Organization: NASA Johnson Space Center
  8. References: <31080@toad.com>
  9. Date: Tue, 26 Jan 1993 14:36:46 GMT
  10. Lines: 23
  11.  
  12. In article <31080@toad.com> curt@toad.com (Curt Mayer) writes:
  13. >alright, so i reinstalled from ground zero for the 4th time, installed
  14. >the latest patch kit from agate, recompiled the world, so why do i
  15. >still get these signal 6's all over the place when trying to recompile ?
  16.  
  17. The problem is in DBL_MAX and DBL_MIN in /usr/include/float.h.  I
  18. changed them to:
  19.  
  20. #define DBL_MIN         2.2250738585072014E-308
  21. #define DBL_MAX         1.7976931348623157E+308
  22.  
  23. and STILL got 'signal 6's all over the place' (particularly in
  24. recompiling g++).  I then changed DBL_MAX to 1.7976931348623147E+308
  25. (note second to last digit) and had better luck.
  26.  
  27. I would really like to see a definitive answer on this and see it fixed
  28. in the distribution files or patchkit.
  29.  
  30. -- 
  31. Daniel Poirot           poirot@aio.jsc.nasa.gov
  32. NASA JSC                "The mind is a terrible thing."
  33. ER3                     tel: (713)483-8793
  34. Houston, TX 77058       fax: (713)483-3204
  35.