#include <stdio.h> int main() { double a=0.1; printf("%.25lf\n",a); printf("%.25f\n",(float)a); return 0; }
0.1000000000000000055511151 0.1000000014901161193847656
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!