节点文献

一种长整数计算器的实现

The Implementation of a Kind of Long Scale Integer Calculator

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 吴光年; 曾小宁;

【Author】 WU Guang-nian,ZENG Xiao-ning(Dept.of Math.,Guangdong Education Institute,Guangzhou,Guangdong,510303,P.R.China)

【机构】 广东教育学院数学系; 广东教育学院数学系 广东广州510303; 广东广州510303;

【摘要】 采用动态分配的字符数组存储长整数,0位置保存数的符号,其他位置保存整数的各位数值,另外记录整数的位数,实现了加、减、乘、除和乘方的运算函数并对各个函数的时间复杂度进行了分析.

【Abstract】 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.

【关键词】 长整数; 字符数组; 中缀表达式; 栈;
【Key words】 Long Scale Integer; character array; infix expression; stack;
  • 【文献出处】 广东教育学院学报 ,Journal of Guangdong Education Institute , 编辑部邮箱 ,2006年03期
  • 【分类号】TP32
  • 【被引频次】2
  • 【下载频次】103
节点文献中: 

本文链接的文献网络图示:

本文的引文网络