This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: strange printf failures
- To: Ulrich Drepper <drepper@cygnus.com>
- Subject: Re: strange printf failures
- From: Joel Sherrill <joel@oarcorp.com>
- Date: Wed, 27 May 1998 14:51:23 -0500 (CDT)
- cc: Philip Blundell <Philip.Blundell@pobox.com>, libc-hacker@gnu.org
On 27 May 1998, Ulrich Drepper wrote:
> > I was investigating the use of glibc 1.0[89] for embedded systems
> > use and discovered that printing an FP number required over 40K of
> > stack space for a simple test case.
>
> If you print large number (large exponents) this is true. I simply
> have not yet found the drive to change this. It would require several
> careful changes and might effect the so far 100% accuracy.
I am not requesting a change and don't think this is a big deal.
It is not a problem on unix-ish systems with virtual memory and stacks
which can grow but if stack sizes are fixed, then it could be a problem.
--joel
Joel Sherrill Director of Research & Development
joel@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (205) 722-9985