Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
标准 IEEEDoublePrecision 标准 中显示的最大和最小数字是多少?如何?
您可以在 IEEE754 双精度中存储的最大“数字”是Infinity,最小的是-Infinity.
Infinity
-Infinity
如果您的意思是非无限表示,那将大致是
±1.7976931348623157 x 10308.
±1.7976931348623157 x 10
308
有关 IEEE754 格式的出色答案,请参见此处。有关显示该表示的维基百科文章,请参见此处。