Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 877 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 877 Bytes

Factorial

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.

See Also

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.

Licence

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.