Skip to content

Various implementations in various languages of factorial(n).

Notifications You must be signed in to change notification settings

russel/Factorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Various implementations in various languages of factorial(n).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published