一种长整数计算器的实现  被引量:1

The Implementation of a Kind of Long Scale Integer Calculator

在线阅读下载全文

作  者:吴光年[1] 曾小宁[1] 

机构地区:[1]广东教育学院数学系,广东广州510303

出  处:《广东教育学院学报》2006年第3期29-32,共4页Journal of Guangdong Education Institute

摘  要:采用动态分配的字符数组存储长整数,0位置保存数的符号,其他位置保存整数的各位数值,另外记录整数的位数,实现了加、减、乘、除和乘方的运算函数并对各个函数的时间复杂度进行了分析.The program uses dynamic assigned character array to store long scale integer. The sign of the integer should be stored in location 0, other digits of the integer should be stored in the other locations. And the program also records the length of the integer and implements the operation functions of addition, subtraction, multiplication, division and power, and analyzes the timing complexity of each function.

关 键 词:长整数 字符数组 中缀表达式  

分 类 号:TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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