1 2 3 4 5 6 7 8 9 10 11 12 13
#include <stdio.h> int main(int argc, char* argv[]) { double x = 10000000000000000; double y = 1; x = x + y; y = x - y; x = x - y; printf("x=%e, y=%e\n", x, y); return 0; }
1
x=0.000000e+00, y=1.000000e+16