This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Zack Weinberg wrote:
That would be good but we have a standard way of writing this for nans. I'd rather see this mathod extended:I suppose we could define "snan" (case insensitive) to do what we
want. I'd bet that Uli would be willing to pick this up for glibc's strtod implementation. We'd probably be "inconsistent" with other
libcs, but in an extremely minor way.
It might make sense to permit entry of infinity and NaN as hexadecimal floating constants. I could go two ways on that:
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |