include <stdio.h> #include <limits.h> //整数限制 #include <float.h> //浮点数限制 void main() { printf("the FLOAT_MIN number is : %f\n",FLT_MIN); //float的最小值 printf("the FLOAT_MAX number is : %f\n",FLT_MAX); //float的最大值 }