On the topic "n! - very slowly," I submit a TB script that calculates n! to 100,000 digits in 61 seconds.
Regards,=========================================================== ================ N U M S =================== =========================================================== Arbitrary precision floating point and integer math library Free for personal use. Commercial use not allowed. Please read 'NUMS_Info.txt' (c) 2011 DevOTechS =========================================================== Last Modified = 09-01-2011 at 00:28:05 Program = Factorial.tbasic Factorial (n) 100000! = 456575 digits 61,086.917 msecs. Done... Press any key to end program.
Bob
Bookmarks