AFAIK, C supports just a few data types:
int, float, double, char, void enum.
I need to store a number that could reach into the high 10 digits. Since I'm getting a low 10 digit # from
INT_MAX
, I suppose I need a double.
<limits.h>
doesn't have a DOUBLE_MAX
. I found a DBL_MAX
on the internet that said this is LEGACY and also appears to be C++. Is double what I need? Why is there no DOUBLE_MAX
?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…