[ create a new paste ] login | about

Link: http://codepad.org/Fg4pP5H7    [ raw code | output | fork ]

C, pasted on Dec 29:
1
2
3
4
5
6
7
8
#include <stdio.h>

int main() {
  double a = 9007199254740992;
  double b = a + 1;
  if (a == b) printf("a == b");
  return 0;
}


Output:
1
a == b


Create a new paste based on this one


Comments: