This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
printf and %a
- From: Eric Blake <ebb9 at byu dot net>
- To: newlib at sources dot redhat dot com
- Date: Tue, 27 Mar 2007 07:01:53 -0600
- Subject: printf and %a
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I would like to work on adding %a and %A support to printf. It would be a
lot easier to implement if I had access to the functionality of frexp (and
frexpl, for %La) in libc. What would be the best approach for that - put
a helper function __frexp in libc that contains the current contents of
frexp, and have libm's frexp call the helper, so that linking the actual
frexp still requires -lm, or just move frexp to libc altogether?
- --
Don't work too hard, make some time for fun as well!
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGCRXA84KuGfSFAYARAqHDAJ9kv3bqGdV42DXU/s59pbGlGEPUiACg1o/o
7XCjkt07eCKOUpiRBQWN8B4=
=N2se
-----END PGP SIGNATURE-----