home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6379 < prev    next >
Encoding:
Text File  |  1992-07-21  |  1.5 KB  |  37 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!usc!snorkelwacker.mit.edu!bloom-picayune.mit.edu!daemon
  3. From: J.Jagger@sheffield-city-poly.ac.uk
  4. Subject: FLT_DIG, tabs, FPU, yacc
  5. Message-ID: <1992Jul22.082501.20615@athena.mit.edu>
  6. Sender: daemon@athena.mit.edu (Mr Background)
  7. Reply-To: J.Jagger@sheffield-city-poly.ac.uk
  8. Organization: The Internet
  9. Date: Wed, 22 Jul 1992 08:25:01 GMT
  10. Lines: 25
  11.  
  12. Hi peeps,
  13. I've just noticed that float.h has a line ;
  14. #define FLT_DIG 6
  15. I know that 6 is the number written in Plaugers ANSI C book, but he
  16. has acknowledged that this is an error, and it should be 7.
  17. I don't whether people leave it as 6 so as not to break existing code
  18. (can't imagine much would break), or whether they just don't know
  19. this.
  20.  
  21. Couple of other queries.
  22. 1. I hate a tab size of 8 in vi. I much prefer 4. How can I change
  23. this. Is there a port of tabs* anywhere?
  24. 2. I'm running tests to try and break C library code. How do I
  25. instruct gcc to link in the maths stuff? E.g. I've got a call to
  26. sqrt(-1.0) and include <float.h> and <math.h> but it doesn't resolve.
  27. 3. Has anyone run the Plum Hall Validation Suite on the C library ?
  28. 4. Yacc. How do I instruct this NOT to buffer input. That is, when I
  29. press return I want to process the input.
  30.  
  31. Thanks, keep the excellent work/play
  32. JJ
  33. :: Jon Jagger  asjrbj@oak.scp.ac.uk
  34. :: Sheffield City Polytechnic, Pond Sreet, SHEFFIELD S1 1WB
  35. :: Tel 0742 533802/432889 (work/home) Fax 0743 533840
  36. :: Newspaper ad: Men wanted for expanding contracting company!
  37.