CodePudding user response:
It is not very simple? Factorial define a function, and then the formula is 1/function call (1) - (2) + 1/1/function call a function call (3)...Add and subtract changes among defines a flog=1; Is the flog * 1/function call (1) (2) + flog * 1/function call + flog * 1/function call (3)... Flog didn't perform a cycle change symbol, is to flog=- flog; So behind with a flog change symbol, and yourself to write formulas are added