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

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!news.byu.edu!ux1!fcom.cc.utah.edu!cs.weber.edu!terry
  3. From: terry@cs.weber.edu (A Wizard of Earth C)
  4. Subject: Re: Correct values for float.h, compiling gcc-2.3.3
  5. Message-ID: <1993Jan26.211616.25190@fcom.cc.utah.edu>
  6. Sender: news@fcom.cc.utah.edu
  7. Organization: Weber State University  (Ogden, UT)
  8. References: <1993Jan25.152028.10017@yrloc.ipsa.reuter.COM> <1993Jan26.083016.13402@data.fls.dk>
  9. Date: Tue, 26 Jan 93 21:16:16 GMT
  10. Lines: 36
  11.  
  12. In article <1993Jan26.083016.13402@data.fls.dk> phk@data.fls.dk (P-HK/Poul-Henning Kamp) writes:
  13. >bsd@yrloc.ipsa.reuter.COM (Brian de Alwis) writes:
  14. >
  15. >>What exactly are the correct values for <float.h>?
  16. >
  17. >>This problem has come up while attempting to compile gcc-2.3.3 (are
  18. >>there any patches out there? I couldn't find any, with my limited
  19. >>resources here). It seems that the build proceeds with no problems
  20. >>until enquire.c is compiled with the new xgcc. On line 2307, it
  21. >>craps out with a `floating point constant out of range'. I haven't
  22. >>had too much time to look at any further.
  23. >
  24. >The problem lies with [efsv]printf and very small numbers, like the smallest
  25. >normalised number 2.225073858507201383090232717332404064219e-308
  26. >and the next smaller 2.22507385850720088902458687608585988765e-308 comming
  27. >out the same.
  28.  
  29. This, in turn, is the result of the "round-up" being set on the float-to-int
  30. conversion in the math library sources.  There have been patches for both
  31. posted, but nothing definative has been done about testing how well they
  32. work with the "correct" float.h values.
  33.  
  34. Volunteers, anyone?
  35.  
  36.  
  37.                     Terry Lambert
  38.                     terry@icarus.weber.edu
  39.                     terry_lambert@novell.com
  40. ---
  41. Any opinions in this posting are my own and not those of my present
  42. or previous employers.
  43. -- 
  44. -------------------------------------------------------------------------------
  45.                                         "I have an 8 user poetic license" - me
  46.  Get the 386bsd FAQ from agate.berkeley.edu:/pub/386BSD/386bsd-0.1/unofficial
  47. -------------------------------------------------------------------------------
  48.