It’s a simple function, you don’t really need a whole lot of computing power to keep on track. Worst case you can simply remove the factorial and store the zeros in a separate array and tack them on in the output.
It depends on how they are representing the numbers. If they are stored as an “integer” they will overflow and wrap around after about 2 trillion. I’m not saying computers can’t handle larger numbers, I’m saying that in my extensive experience there’s always some part of older systems that generate some long-forgotten but essential report that never thought about handling huge numbers and breaks in unexpected ways.
It’s a simple function, you don’t really need a whole lot of computing power to keep on track. Worst case you can simply remove the factorial and store the zeros in a separate array and tack them on in the output.
It depends on how they are representing the numbers. If they are stored as an “integer” they will overflow and wrap around after about 2 trillion. I’m not saying computers can’t handle larger numbers, I’m saying that in my extensive experience there’s always some part of older systems that generate some long-forgotten but essential report that never thought about handling huge numbers and breaks in unexpected ways.
Right, who knows if they are running the country on AS400…