[ create a new paste ] login | about

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

C++, pasted on Jul 3:
1
2
3
4
5
int main()
{
printf("%d\n", (0.1+0.2) == 0.3);
printf("%d\n", (0.1f+0.2f) == 0.3f);
}


Output:
1
2
0
1


Create a new paste based on this one


Comments: