Commit Graph

11 Commits

Author SHA1 Message Date
gdr-ftp
04ed2e0e19 cvt.c:
Fix for PR#56 -- there is a kludge to modify the exponent for
	a converted value of zero, due to the way that SANE special-
	cases it.  This kludge was applied for all values that had a
	zero exponent; now do it only for the value zero.
1998-03-28 16:42:32 +00:00
gdr-ftp
8c9a14c01e cvt.c:
The ecvt(), fcvt(), and __dtoa() routines were generally
	rewritten to address the problem of printing floating point
	numbers (they sometimes came out wrong, especially representations
	of zero).

	__dtoa was written from the description in the BSD sources (note
	that the comment of it being "like ecvt/fcvt other than truncating
	trailing zeros") is not quite accurate where it comes to the rve
	pointer or the printing of zero values.  __dtoa is still expected
	to be wrong for any modes other than 2 and 3, however those modes
	are not used by anything in libc yet.  Fix them when they pop up.

	BSD has not ecvt/fcvt routines, so these have been written based
	on the man page and observed behavior of the Linux implementation.
	There is no gcvt yet.
1998-03-24 16:20:30 +00:00
gdr-ftp
79cc150685 Makefile:
- specify files via SRCS vice OBJS.  This eliminates an extraneous
	  ".o" in the final OBJS value.
	- don't attempt to attach a rez fork (leave it for the upper
	  level makefile)
1998-02-19 01:07:56 +00:00
taubert
6bd94b0884 Added support for separate object hierarchy and cleaned up libc makefiles 1998-02-09 08:45:21 +00:00
gdr
97ab3c7a62 - fixed segment name
- changed location of macro include files
1997-12-21 20:12:27 +00:00
gdr
6848d48a2e build libc in the lower level makefiles instead of the top one; we're
getting too many files
1997-10-03 04:44:26 +00:00
gdr
ffae6366ab - specify optimization level 78
- have default target update ../libc
1997-09-21 06:21:35 +00:00
gdr
e9b7d50bfc remove #pragmas; depend on Makefile for these settings 1997-09-21 06:21:07 +00:00
gdr
a5c0ecf161 add a segment statement 1997-09-21 06:20:37 +00:00
gdr
05cc2bfd4c Added _isnan(), _isinf(), __dtoa(), fcvt(), and ecvt() routines. The
first three are required by stdio.
1997-09-05 06:31:59 +00:00
gdr
596add410c initial checkin of libc source and tests 1997-02-28 05:12:58 +00:00