summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdlib/ldtoa.c
Commit message (Collapse)AuthorAgeFilesLines
* 2002-02-05 Manik Raina <manik@cisco.com>Jeff Johnston2002-02-051-3/+0
| | | | | | | * libc/misc/dprintf (parse_number): #if 0 unused function. * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables s, p, k, and outstr. * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
* * implement a new `struct _reent' that is significantly smaller. use thisMatthew Green2002-02-031-8/+10
| | | | if _REENT_SMALL is defined in config.h. define this for xstormy16.
* 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2000-12-141-0/+41
| | | | | | | | | * libc/stdlib/ldtoa.c (_ldcheck): New routine that categorizes a long double as NaN, Infinity, or other. * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed isinfl and isnanl static routines which were i386-specific. Changed calls to the two removed routines to a single _ldcheck call. * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
* 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2000-12-071-3667/+3679
| | | | | | | | | * libc/stdlib/ldtoa.c: Removed include of alloca.h. Also removed \r's. (asctoeg): Replaced alloca call with stack array and malloc when storage exceeds reasonable limit. (e53toe): Fixed einfin calls missing ldp parameter. (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
* 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2000-12-061-0/+3667
* libc/stdlib/Makefile.am: Added ldtoa.c to list of sources. * libc/stdlib/Makefile.in: Regenerated. * libc/stdio/floatio.h: Added suitable MAXEXP for long double. * libc/stdio/vfieeefp.h: Added long double bit structures. * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support. [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines. (exponent): Changed expbuf to reasonable maximum instead of MAXEXP. * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support. * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and _strtold routines used for conversions between character and long double.