检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:翟振辉[1] 欧世峰[1] 刘继长 钟全雄[2] 高颖[1]
机构地区:[1]烟台大学光电信息学院,山东烟台264005 [2]烟台大学工程实训中心,山东烟台264005
出 处:《现代电子技术》2014年第20期27-30,共4页Modern Electronics Technique
基 金:国家自然科学基金(61201457)
摘 要:IEEE 754标准规定了可以精确表示某一浮点型数据的单精度(常用)和双精度表示方法,这在许多对数据精度要求较高的场合得到广泛应用,而在数据通信过程中所有数据都是以十六进制打包和解析、二进制形式传输的,所以研究如何根据该标准把所要传输的浮点型数据编程转换成8位十六进制数据具有重要的实用意义。这里在分析和研究IEEE 754标准中浮点型数据单精度表示方式的基础上,结合Borland C++Builder 6.0可视化编程工具,阐述了如何把单精度浮点型数据转换成所需要的8位十六进制数,以及如何把8位十六进制数转换成单精度浮点类型数据,并实现显示。The single precision and double precision expressive methods which can accurately express a float-point data are stipulated in IEEE754 standard. They are widely in the field,in which the accuracy requirement is high. On the base of studying and analyzing the expression of the 32 bits floating-point,how to translate the floating-point data to the needed hexadecimal da-ta,and how to translate the hexadecimal data to the floating-point data are elaborated in combination with the visual program-ming tools Borland C++ Builder 6.0,and the expression of the 32 bits floating-point data in the IEEE 754 standard. The data display was realized.
关 键 词:IEEE 754标准 十六进制数 单精度浮点数 可视化编程工具
分 类 号:TN911-34[电子电信—通信与信息系统]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.44