diff options
author | Daniel Rentz <dr@openoffice.org> | 2001-09-26 12:22:24 +0000 |
---|---|---|
committer | Daniel Rentz <dr@openoffice.org> | 2001-09-26 12:22:24 +0000 |
commit | 2f0d97cd957cdb3113d98cbc441a923a43367547 (patch) | |
tree | d13dfd89a8e98f081692a92c7fb56bb33dfc0ae2 /scaddins/source/analysis/analysishelper.cxx | |
parent | f5b732c43a9ed9ace11412d85dacd96d849fcde1 (diff) |
#87380# return error for ODDF(PRICE|YIELD) due to faulty algorithms
Diffstat (limited to 'scaddins/source/analysis/analysishelper.cxx')
-rw-r--r-- | scaddins/source/analysis/analysishelper.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/scaddins/source/analysis/analysishelper.cxx b/scaddins/source/analysis/analysishelper.cxx index 3cbb3c533f37..2c8b1d38a18a 100644 --- a/scaddins/source/analysis/analysishelper.cxx +++ b/scaddins/source/analysis/analysishelper.cxx @@ -2,9 +2,9 @@ * * $RCSfile: analysishelper.cxx,v $ * - * $Revision: 1.30 $ + * $Revision: 1.31 $ * - * last change: $Author: dr $ $Date: 2001-09-26 09:51:58 $ + * last change: $Author: dr $ $Date: 2001-09-26 13:22:24 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1556,6 +1556,8 @@ double GetOddfprice( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal sal_Int32 nFirstCoup, double fRate, double fYield, double fRedemp, sal_Int32 nFreq, sal_Int32 nBase ) THROWDEF_RTE_IAE { + THROW_RTE; // #87380# +/* double fN = GetCoupnum( nNullDate, nSettle, nMat, nFreq, nBase ) - 1.0; double fNq = GetCoupnum( nNullDate, nSettle, nFirstCoup, nFreq, nBase ) - 1.0; double fDSC = GetCoupdaysnc( nNullDate, nSettle, nFirstCoup, nFreq, nBase ); @@ -1619,6 +1621,7 @@ double GetOddfprice( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal } return fT1 + fT2 + fT3 - fT4; +*/ } @@ -1701,6 +1704,8 @@ double GetOddfyield( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal sal_Int32 nFirstCoup, double fRate, double fPrice, double fRedemp, sal_Int32 nFreq, sal_Int32 nBase ) THROWDEF_RTE_IAE { + THROW_RTE; // #87380# +/* //GetOddfprice( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal_Int32 nIssue, //sal_Int32 nFirstCoup, double fRate, double fYield, double fRedemp, sal_Int32 nFreq, //sal_Int32 nBase ) @@ -1749,6 +1754,7 @@ double GetOddfyield( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal THROW_IAE; // result not precise enough return fYieldN; +*/ } |