期刊文献+

利用数组和字符串实现长整数的精确计算 被引量:1

Implementation of Precise Calculation of Long Integer by Using Arrays and Strings
下载PDF
导出
摘要 文章阐述了用计算机进行长整数的乘法运算时所遇到的问题以及如何利用数组和字符串来解决这些问题。通过对人工计算过程进行模拟和分析,最终找到一个适合在计算机中实现的算法,即用高级语言来实现长整数的精确计算。 The paper proposes the problem that occurs in the case when we carry on the multiplication of long integer by computer and expound how to make good use of array and string to solve the difficulty. In the paper, we elaborate the whole process of artificial calculation. Through imitating and analyzing it, we find a suitable algorithm to calculate by computer, which can accomplish the calculation of long integer accurately by using advanced language. In the process of artificial calculation, there is no input fault or length restriction of the integer and it is easy to carry flag, while these are difficult for computer to accomplish. So, how to solve these problems is the core work of the paper.
出处 《安庆师范学院学报(自然科学版)》 2007年第3期107-109,共3页 Journal of Anqing Teachers College(Natural Science Edition)
关键词 数组 字符串 算法 C++ array string algorithm C++
  • 相关文献

同被引文献11

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部