摘要
机器数是计算机相关原理如运算器设计等的基础,也是计算机数值运算的前提与基础。该文给出了一种更简便的机器数转换算法,并给出了实现该算法的C++源代码。
Number of machines is the basis for computer-related design principles such as operations, is also a prerequisite and basis for numerical computing. This article gives a simpler machine conversion algorithm, and C++ source code'that implements the algorithms are given.
作者
王德超
WANG De-chao (College of Fundation Education,Sichuan Normal University, Chengdu 610066, China)
出处
《电脑知识与技术》
2012年第6期3872-3874,共3页
Computer Knowledge and Technology
关键词
机器数
算法
机器字长
溢出
C++源代码
machine number
algorithm
machine length
overflow
C++ source code