斯特林公式求N!

 
 
n!的长度为 ll ans = log10(2*pi*n)/2 + n*(log10(n/exp(1.0)))+1;
 
posted @ 2016-08-17 11:20  jhz033  阅读(149)  评论(0)    收藏  举报