9 // was an internal tcc compiler error with arm64 backend until 2019-11-08
20 float a
= 12.34 + 56.78;
24 printf("%f\n", 12.34 + 56.78);
25 printf("%f\n", 12.34 - 56.78);
26 printf("%f\n", 12.34 * 56.78);
27 printf("%f\n", 12.34 / 56.78);
29 // comparison operators
30 printf("%d %d %d %d %d %d\n", 12.34 < 56.78, 12.34 <= 56.78, 12.34 == 56.78, 12.34 >= 56.78, 12.34 > 56.78, 12.34 != 56.78);
31 printf("%d %d %d %d %d %d\n", 12.34 < 12.34, 12.34 <= 12.34, 12.34 == 12.34, 12.34 >= 12.34, 12.34 > 12.34, 12.34 != 12.34);
32 printf("%d %d %d %d %d %d\n", 56.78 < 12.34, 56.78 <= 12.34, 56.78 == 12.34, 56.78 >= 12.34, 56.78 > 12.34, 56.78 != 12.34);
34 // assignment operators
52 printf("%f\n", +12.34);
53 printf("%f\n", -12.34);
58 printf("%f\n", sin(2));
63 /* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/