Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<string.h>
- #include<math.h>
- #define PI 3.14159265
- int main()
- {
- double d = (2*atan2(0, PI));
- d /= d; // d = 1
- if (d != d) {
- printf("INEQUAL (d != d)");
- } else {
- printf("EQUAL (d == d)");
- }
- return 0;
- }
- Was printed dieses Programm aus ?
- Erst überlegen dann nachschauen: http://codepad.org/Lis4E8ch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement