动手动脑5

1.

2.

因为IEEE 754标准规定:A NaN value is used to represent the result of certain invalid operations such as dividing zero by zero. 

for example, 1.0/0.0 has the value positive infinity, while the value of 1.0/-0.0 is negative infinity.

意思就是NaN=0.0/0.0  infinity=正浮点数/0.0  negative infinity=负浮点数/0.0  所以浮点数除以0.0不会报错

3.

4.

5.

 
 
 
posted @   不会JAVA的小袁  阅读(6)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· 三行代码完成国际化适配,妙~啊~
· .NET Core 中如何实现缓存的预热?
点击右上角即可分享
微信分享提示