Why do I need to put 3.14f instead of 3.14 to disable all those warnings ? Is there a coherent reason reason for this ?
Because double can approximate 3.14 much better than float, maybe? Here are the exact values:
double
float
3.140000000000000124344978758017532527446746826171875 (double)
3.1400001049041748046875 (float)