in reply to Re: Re: Factorial algorithm execution time
in thread Factorial algorithm execution time
It works by calculating fact6(1,100) as fact6(1,50)*fact6(51,100). Break those up likewise until you have a range of one number, and you know how to calculate that. So there are very few multiplications with very large numbers.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Factorial algorithm execution time
by Aristotle (Chancellor) on Oct 19, 2002 at 01:32 UTC | |
by Anonymous Monk on Oct 19, 2002 at 03:06 UTC | |
by Aristotle (Chancellor) on Oct 19, 2002 at 11:24 UTC | |
by Anonymous Monk on Oct 19, 2002 at 15:38 UTC |