"Fossies" - the Fresh Open Source Software Archive

Member "bc-1.06.95/Test/fact.b" (27 May 2005, 121 Bytes) of package /linux/misc/old/bc-1.06.95.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Limbo source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 define f (x) {
    3   if (x<=1) return(1)
    4   return (f(x-1)*x)
    5 }
    7 for (a=1; a<600; a++) b=f(a)
    8 "length(b)= "; length(b)
    9 quit