so I am writing a C++ program that is meant to get the factoral of a number, but when I pass a large number into it, it returns with "inf", I\'ve tried to add an if st