Java将HEX转换为IEEE 754 32位值…?

问题描述

| 有什么可以帮助我将十六进制值转换为IEE 754 32位值的方法吗?     

解决方法

        去
longBitsToDouble
public static double longBitsToDouble(long bits)
  返回对应的双精度值   到给定的位表示形式。的   论点被认为是一个   浮点表示   符合IEEE 754的值   浮点“双格式”位   布局。 参数:
bits - any long integer.
返回:
the double floating-point value with the same bit pattern.
    ,        JDK 6
Double
类中提供了几种方法。考虑一下Double类的Javadoc。