Is there any difference between using floating point casts vs floating point suffixes in C and C++?

后端 未结 0 1585
长发绾君心
长发绾君心 2020-12-04 10:23

Is there a difference between this:

float MY_FLOAT = 3.14159265358979323846264338328f; // f suffix
double MY_DOUBLE = 3.14159265358979323846264338328; // no s         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题