Created
March 1, 2013 06:30
-
-
Save zaki50/5062831 to your computer and use it in GitHub Desktop.
NAN == NAN is false
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <math.h> | |
int | |
main(int argc, char* argv[]) | |
{ | |
printf("%s\n", NAN == NAN ? "true" : "false"); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment