摘要
普通计算机所能处理的数据的位数有限,为解决超出计算机系统基本数据类型表达能力的数据(大数)计算,特别是乘法计算问题,本文给出了一种基于大整数乘法的算法设计思想并利用C++语言进行了编程实现。通过该算法可以类推出大数(包括含小数位的大数)、超精确小数(即含多位小数位、精确度非常高的数据)的乘法运算。
Ordinary computer can handle a limited number of bits of data for solving the basic data types beyond the computer systems of expression data(large number) to calculate,specially the multiplication calculation,this paper has given one kind carries on the programming based on the large integer multiplication algorithm design idea and using the C++ language to realize.May analogize the large number through this algorithm(including large numbers with decimal places),ultra-precision decimal(i.e.contains many decimal places,very high precision data) the multiply operation.
出处
《科技通报》
北大核心
2012年第6期179-181,共3页
Bulletin of Science and Technology
关键词
大数
算法
C++
程序设计
large number
algorithm
C++
programming