]> source.dussan.org Git - poi.git/commit
Bug 55058: patch for missing function FactDouble
authorCédric Walter <cedricwalter@apache.org>
Thu, 10 Oct 2013 10:10:54 +0000 (10:10 +0000)
committerCédric Walter <cedricwalter@apache.org>
Thu, 10 Oct 2013 10:10:54 +0000 (10:10 +0000)
commit793791ece89b27d58eeeee85490bb3be9c94c696
tree9a635e7be13db3adca4f74376215ed9e36f32068
parentf9fc75461142acf8108356d84d0f1967b414ed77
Bug 55058: patch for missing function FactDouble
Returns the double factorial of a number: FACTDOUBLE(number)

Number     is the value for which to return the double factorial. If number is not an integer, it is truncated.

Remarks
If number is nonnumeric, FACTDOUBLE returns the #VALUE! error value.
If number is negative, FACTDOUBLE returns the #NUM! error value.

Has  a cache for more speed of previously calculated factorial
Add additional sanity check/integration test FormulaEvalTestData.xls

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1530907 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/poi/ss/formula/atp/AnalysisToolPak.java
src/java/org/apache/poi/ss/formula/functions/FactDouble.java [new file with mode: 0644]
src/testcases/org/apache/poi/ss/formula/functions/TestFactDoubleFunctionsFromSpreadsheet.java [new file with mode: 0644]
test-data/spreadsheet/FactDoubleFunctionTestCaseData.xls [new file with mode: 0644]
test-data/spreadsheet/FormulaEvalTestData.xls