scorpion4377
Programmer
Since PHP can't compute anything with large numbers, and my server doesn't have GMP installed, I made a few quick functions that can add, multiply, and find the factorials of large numbers.
With my function, the exact value of 51! can be evaluated in 3 seconds.
Of course, since I rushed through the functions, only positive whole numbers are supported. (Not to mention, I haven't made a function to subtract or to divide, and its slow compared to GMP.)
Is there a way I can make PHP work with large numbers without GMP? If not, I will work on making my functions a little better.
With my function, the exact value of 51! can be evaluated in 3 seconds.
Of course, since I rushed through the functions, only positive whole numbers are supported. (Not to mention, I haven't made a function to subtract or to divide, and its slow compared to GMP.)
Is there a way I can make PHP work with large numbers without GMP? If not, I will work on making my functions a little better.