This repository contains the factorial function:
f(0) = 1
f(n) = n * f(n - 1), n > 0
coded with a number of different algorithms/implementations in various languages. The purpose is not to provide Factorial as a Service (FaaS), but it to investigate data-driven testing (both example based and property based) in the various languages.
Rosetta Code is possibly the premier location of examples of coding. For factorial see http://rosettacode.org/wiki/Factorial They are though concerned only with the code of the algorithm, the point of this repository is as much the tests as the algorithms.
All code in this repository is licenced under the GNU Public Licence version 3 (GPLv3). The licence statement is omitted from the individual files, but applies nontheless. The GPLv3 document file is contained in this repository.