From: John_White at domain dell.com
Date: Thu 28 Oct 1999 - 15:00:53 IST
as easy as it would be to write one that gets the factorial of 5 :)
but you'd need a mad data type to store the result in . . .
-----Original Message-----
From: John P . Looney [mailto:valen at domain tuatha.org]
Sent: 28 October 1999 14:46
To: Irish LUG list
Subject: [ILUG] impressive...
Check this out.
Into umb-scheme, type:
(define (factorial number)(if (= number 0) 1 (* number (factorial (-
number 1)))))
then:
(factorial 5500)
How easy would it be to write a tcl, C or C++ function to get the
factorial of 5500 ? Scheme rocks!
Kate
-- Irish Linux Users' Group: ilug at domain linux.ie http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information. List maintainer: listmaster at domain linux.ie
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:48 GMT