Page 2 of 2

Re: [Challenge ] largest factorial

Posted: Wed Sep 02, 2009 4:39 pm
by Mark Baker
pytrin wrote:Completely agree with this. You should define the acceptable error margin and work within that.
In fact, there will be a margin of error in the basic recursive and loop methods because of the computer's storage of binary floating point numbers, so any results that fall outside of PHP's max integer range will be approximations.