[ create a new paste ] login | about

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

C, pasted on Apr 29:
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdio.h>
int main()
{
float a,b,c;

c=0.2;
c=c*10.0;
c=c-2.0;
printf("%.50f\n",c);


return 0;
}


Output:
1
0.00000000000000000000000000000000000000000000000000


Create a new paste based on this one


Comments: