This is the mail archive of the gcc-bugs@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]

[Bug target/61319] The tests c-c++-common/ubsan/float-cast-overflow-(1|2|4).c fail on x86_64-apple-darwin*


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61319

--- Comment #3 from UroÅ Bizjak <ubizjak at gmail dot com> ---
http://stackoverflow.com/questions/8817164/signed-nan-values

If the sign bit in the underlying representation is set, this particular
implementation of printf prints -nan. There is no standard that says that it
has to, or that it shouldn't.

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