摘要: 来源:http://zhidao.baidu.com/question/90734366.html简单的说就是整数阶乘的推广,它有一个积分的表达式: Γ(x)=∫e^(-t)*t^(x-1)dt (积分的下限式0,上限式+∞) 算法源自《常用算法程序集》徐士良[代码]求小数阶乘: 3.5!=Γ(x+1)=11.631730 阅读全文
posted @ 2010-04-26 12:11 炎峰森林影 阅读(3421) 评论(0) 推荐(0) 编辑
摘要: 主要来源:http://iask.sina.com.cn/b/1882074.html1) 0!=1,0!=1! (参考:http://baike.baidu.com/view/245476.htm#5)2) 负数没有阶乘 (参考:http://zhidao.baidu.com/question/11523163.html)3) 小数没有阶乘(一般来说) (参考:http://baike.baid... 阅读全文
posted @ 2010-04-26 11:15 炎峰森林影 阅读(1965) 评论(1) 推荐(0) 编辑