This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: strange printf failures


Joel Sherrill <joel@OARcorp.com> writes:

> Unless this code has changed substantially since 1.09, this routine an
> enormous amount of stack space.

It changed a lot (I rewrote it completely) but it possibly still uses
large stack space.

> 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.

-- Uli
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]