-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Bruno Haible on 4/1/2008 7:45 PM: |> Were you planning on backing out the math.in.h changes? | | It depends on your vote... If you say no, then no.
Let's leave it in for now: I'm brave enough to make m4 1.4.11 the litmus test. If someone complains that strtod.c's use of NAN as provided by math.in.h breaks compilation of M4, we can revisit the issue and help them find a workaround. But my guess (or at least my hope) is that no one will speak up. | | nan.h lives in tests/, since for it to be usable in lib/ one additionally | needs to use 'inline' or similar. OK. Which means math.in.h can't use it. | Also, it's too tempting to write | | sprintf (buf, "%Le foobar", NAN); | | but then the argument being passed is actually a 'double', not a 'long double'. | Providing a macro NaNl() avoids this pitfall. True enough (but no different than the bug of: sprintf (buf, "%p", 0); in terms of neglecting to cast a var-arg argument properly). - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----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 iEYEARECAAYFAkfy6M8ACgkQ84KuGfSFAYDX9QCgvKV8e6m+//wKFnhQ2crMYb/x WIgAoJkI4tgbaeiH088oAQlMEbNXn9jI =Y7nL -----END PGP SIGNATURE-----