二进制浮点数转十进制的快速方法  被引量:2

Method to Convert Binary Floating Point Number to Decimal Integer

在线阅读下载全文

作  者:熊帮玲 吴海燕[1] 程洋洋 XIONG Bang-ling;WU Hai-yan;CHENG Yang-yang(School of Electronic and Electrical Engineering,Anhui Sanlian University,Hefei 230601,China)

机构地区:[1]安徽三联学院电子电气工程学院,安徽合肥230601

出  处:《辽宁工业大学学报(自然科学版)》2021年第3期144-147,共4页Journal of Liaoning University of Technology(Natural Science Edition)

基  金:安徽高校自然科学项目(KJ2020A0810);安徽三联学院自然科研基金重点项目(KJZD2021001);2020高校优秀青年人才支持计划项目一般项目(gxyq2020082)。

摘  要:针对在已获得浮点数在内存中的二进制数据的条件下,如何获取浮点数的十进制数据的问题,通过设计一个共用体类型实现内存中浮点数的二进制形式转十进制的快速方法。该方法简单易行,能有效地解决浮点数二进制向十进制的转换遇到的问题。Under the condition that the binary data of floating point number in the in-memory has been obtained,how to obtain the decimal data of the floating point number is an urgent problem to be solved.To solve this problem,this paper designs a union type to realize the binary conversion of floating point numbers in memory to decimal.This method is simple,easy,and can effectively solve the problem encountered in floating point binary to decimal conversion.

关 键 词:IEEE754标准 浮点数 二进制 十进制 共用体 

分 类 号:TP301[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象