[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: snapshot in preparation for m4 1.4.12
From: |
Eric Blake |
Subject: |
Re: snapshot in preparation for m4 1.4.12 |
Date: |
Sat, 13 Sep 2008 08:04:05 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080708 Thunderbird/2.0.0.16 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Eric Blake on 9/13/2008 7:11 AM:
> The test ends up calling sprintf(tmp, "%Ld", -0.0L), but
excuse the typo; I meant "%Lf", not "%Ld"
> the system sprintf does not know how to print -0, so the result is
> 0.000000 and lacks -. Does it make more sense to adjust the existing
> gl_PRINTF_INFINITE_LONG_DOUBLE (which also tests for NaN) to add a test
> for negative zero, or to add a new macro gl_PRINTF_ZERO_LONG_DOUBLE? I
> can probably do most of the work, since I can test it on the Irix box, but
> would like to make sure that I'm meeting your preferred style.
At any rate, the Irix box also failed the infinite long double test, so it
already has problem with inf and/or NaN, and the place to add code for
- -0.0 should be relatively easy to locate.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkjLyFUACgkQ84KuGfSFAYBG7wCeIOgw8gFuzVXRkRCGVM28CAoW
PakAoM/BCiU31f2lZ3BLXF5sBh1UcN3R
=ixDJ
-----END PGP SIGNATURE-----
- Re: snapshot in preparation for m4 1.4.12, Eric Blake, 2008/09/12
- Re: snapshot in preparation for m4 1.4.12, Eric Blake, 2008/09/13
- Re: snapshot in preparation for m4 1.4.12,
Eric Blake <=
- Re: snapshot in preparation for m4 1.4.12, Bruno Haible, 2008/09/13
- vasnprintf(-0.0L) on Irix [was: snapshot in preparation for m4 1.4.12], Eric Blake, 2008/09/16
- Re: vasnprintf(-0.0L) on Irix [was: snapshot in preparation for m4 1.4.12], Bruno Haible, 2008/09/18
- Re: vasnprintf(-0.0L) on Irix [was: snapshot in preparation for m4 1.4.12], Eric Blake, 2008/09/20
- Re: vasnprintf(-0.0L) on Irix [was: snapshot in preparation for m4 1.4.12], Bruno Haible, 2008/09/21
- Re: mingw, Bruno Haible, 2008/09/21