首页 | 本学科首页   官方微博 | 高级检索  
     

32位IEEE和IBM浮点数结构及其转换方法
引用本文:符茂松.32位IEEE和IBM浮点数结构及其转换方法[J].工程地球物理学报,2011,8(6):759-766.
作者姓名:符茂松
作者单位:华中科技大学软件学院,湖北武汉,430074
摘    要:不同体系架构的计算机系统之间的浮点数交换与共享,对于地震数据处理具有重要意义.32位IEEE和IBM浮点数是SEGY地震数据中的两种常用数据格式,其格式转换不仅涉及阶码和尾数的表达,还涉及到浮点数存储的方式.本文在分析32位IEEE和IBM浮点数的存储格式基础上,给出两者之间的转换算法和C++语言源代码,对代码进行封装...

关 键 词:浮点数  结构  转换  地震数据  IBM  IEEE

Bytes Expressions and Conversion Between 32 Bits IEEE and IBM Floating Point Numbers
Fu Maosong.Bytes Expressions and Conversion Between 32 Bits IEEE and IBM Floating Point Numbers[J].Chinese Journal of Engineering Geophysics,2011,8(6):759-766.
Authors:Fu Maosong
Affiliation:Fu Maosong(School of Software Engineering,Huazhong University of Science and Technology,Wuhan Hubei 430074,China)
Abstract:The exchange and sharing of floating point numbers in different computer systems are of great significance in seismic data processing.The 32 bits IEEE and IBM floating point formats are the most typical data formats in SEGY seismic data.The conversion between them involves not only the exponent and mantissa of their bytes expressions,but also the way the floating point storage in different byte order.Therefore,this paper will be based on the bytes formats of the 32 bits IEEE and IBM floating point,and then offer the conversion algorithm and source code in C++.What's more,this paper also capsulates the code and a simple API call,citing the successful example of seismic data processing used.
Keywords:floating point  bytes expressions  conversion  seismic data  IBM  IEEE
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号