I am trying to figure out what is the largest number that i can evaluate a factorial using an int, long, float etc...

I already figured out how to find the value for the factorial but how do I test to see when it overloads so I know what the largest number is???