文件名称:Large-integer-factorial
-
所属分类:
- 标签属性:
- 上传时间:2013-04-29
-
文件大小:754byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
本实例实现了一个计算大整数阶乘的程序。通常使用递归来计算一个整数的阶乘。但是, 因为ii.算本身能够表示的最大整数是有限的,所以能够计算的阶乘整数要受到限制。本程序使 用数组来存储结果,因而很好地解决了这个问题,只要有足够大的数组就能计.任意大的整数0-Examples of the realization of a to calculate large integer factorial program. Usually use recursion to calculate the factorial of an integer. However, because ii. Largest integer that is limited by the operator itself can be represented, it is possible to calculate the factorial integer restrictions. This program uses an array to store the results, a good solution to this problem, as long as there is a sufficiently large array will be able to count arbitrarily large integer 0
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Large integer factorial.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.