concept Fact function in category f#
appears as: Fact function, The Fact function

This is an excerpt from Manning's book F# Deep Dives.
In this listing you nest the Seq.reduce version of the Fact function
into the Binomial function and then improve it a bit to cope with inputs less than 1.
What happens if you alter the Fact function to return a large integer, as embodied in .NET’s BigInteger type? You need to tweak the tests a bit because big integers can’t be represented directly in [<TestCase()>] attributes. You’ll represent them instead as strings and parse them in the body of the test.
You can also amend the Fact function to return a big integer.
into the Binomial function and then improve it a bit to cope with inputs less than 1.