From: J.Jagger@sheffield-city-poly.ac.uk Subject: FLT_DIG, tabs, FPU, yacc Date: Wed, 22 Jul 1992 08:25:01 GMT
Hi peeps,
I've just noticed that float.h has a line ;
#define FLT_DIG 6
I know that 6 is the number written in Plaugers ANSI C book, but he
has acknowledged that this is an error, and it should be 7.
I don't whether people leave it as 6 so as not to break existing code
(can't imagine much would break), or whether they just don't know
this.
Couple of other queries.
1. I hate a tab size of 8 in vi. I much prefer 4. How can I change
this. Is there a port of tabs* anywhere?
2. I'm running tests to try and break C library code. How do I
instruct gcc to link in the maths stuff? E.g. I've got a call to
sqrt(-1.0) and include <float.h> and <math.h> but it doesn't resolve.
3. Has anyone run the Plum Hall Validation Suite on the C library ?
4. Yacc. How do I instruct this NOT to buffer input. That is, when I
press return I want to process the input.
Thanks, keep the excellent work/play
JJ
:: Jon Jagger asjrbj@oak.scp.ac.uk
:: Sheffield City Polytechnic, Pond Sreet, SHEFFIELD S1 1WB
:: Tel 0742 533802/432889 (work/home) Fax 0743 533840
:: Newspaper ad: Men wanted for expanding contracting company!