How to convert ieee-11073 16 bit sfloat to a simple floating point number in Java?

The title is self-evident: how to convert ieee-11073 16 bit sfloat to a simple floating point number in Java?

Solution

You can use displacement Extract symbols, exponents, and mantissas and shift them to floating point format You may need to correct infinity and Nan

As pointed out in @ pretip's answer, the exponent is 10, so you need to multiply or divide by the power of 10 to get the final value

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>