Small Factorials, Java and big numbers

big
bignumbers
factorial
java
numbers
small
smallfactorial

#1

In the tutorial for the small factorials exercise: http://blog.codechef.com/2009/07/02/tutorial-for-small-factorials/ it states that there is built in support for dealing with large numbers in Java. My program does not work for testing 100. I read somewhere that there are classes that I can use to deal with such a large number of decimal places but I would really appreciate it if someone could point me in the right direction. I understand the tutorial but I would prefer to learn what I can use in Java instead of redesigning my program.

Thanks for any help!


#2

You can use BigInteger, if you need, you can check my Java solution.


#3

Thanks so much