64,654
社区成员
发帖
与我相关
我的任务
分享
#include <iostream>
using namespace std;
int main()
{
double x=-1.79e308;
cout<<fixed<<x<<endl;
return 0;
}
-178999999999999940000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.000000
-1789999999999999963768995229726260470776376378192402199540275931773709616676592
91027329061638406108931437333529420935752785895444161234074984843178962619172326
29524426272214176638262229922362643847008815021898799795474786619818468662801396
6119769261150988554952970462018533787926725176560021258785656871583744.000000
Process returned 0 (0x0) execution time : 0.026 s
Press any key to continue.
推测这是标准C++未定义的行为。。。
所以不用的编译器结果不一样