How can I calculate a factorial in C# using a library call?

后端 未结 6 1407
没有蜡笔的小新
没有蜡笔的小新 2021-01-05 10:29

I need to calculate the factorial of numbers up to around 100! in order to determine if a series of coin flip-style data is random, as per this Wikipedia entry on Bayesian p

6条回答
  •  耶瑟儿~
    2021-01-05 11:14

    There has been a previous question on a similar topic. Someone there linked the Fast Factorial Functions web site, which includes some explanations of efficient algorithms and even C# source code.

提交回复
热议问题