I need to ask a dumb ass programming question, I am using java but should be similar regardless of language.
How would you test for a overflow error?, I am working out a factorial of 'n' terms, and I want to make sure the result isn't to big for the double memory allocation.
How would you test for a overflow error?, I am working out a factorial of 'n' terms, and I want to make sure the result isn't to big for the double memory allocation.