为什么单个Epsilon值为1.401298E-45 [英] Why Single Epsilon value is 1.401298E-45

查看:58
本文介绍了为什么单个Epsilon值为1.401298E-45的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不明白,如果内部具有-126的指数和1的尾数,为什么Single epsilon值为1.401298E-45而不是1E-126?

I don't understand why Single epsilon value is 1.401298E-45 and not 1E-126, if internally has an exponent of -126 and a mantissa of 1.

推荐答案

最小的 Single 正值的指数为-126,以2为底,二进制有效位数为.00000000000000000000001(2 −23 ),因此其值为2 −149 ,大约是1.4•10 −45 .

The smallest positive Single value has an exponent of −126 with a base of two and a binary significand of .00000000000000000000001 (2−23), so its value is 2−149, which is approximately 1.4• 10−45.

这篇关于为什么单个Epsilon值为1.401298E-45的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆