summaryrefslogtreecommitdiff
path: root/scaddins
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-12-17 17:39:24 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-12-17 17:39:24 +0000
commit70fe8169f59924f60a6778255f59fd27a6a3204c (patch)
treed0f66d6c16ef4c5c557a5a459143440425677ad8 /scaddins
parent852d87489a3e4d27d08113998445268a016c3b60 (diff)
INTEGRATION: CWS geordi2q11 (1.2.46); FILE MERGED
2003/12/16 15:18:31 hr 1.2.46.1: #111934#: join CWS ooo111fix1
Diffstat (limited to 'scaddins')
-rw-r--r--scaddins/source/analysis/bessel.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/scaddins/source/analysis/bessel.cxx b/scaddins/source/analysis/bessel.cxx
index da6e5bb7dc42..95b20a7d2cb6 100644
--- a/scaddins/source/analysis/bessel.cxx
+++ b/scaddins/source/analysis/bessel.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: bessel.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: vg $ $Date: 2003-06-04 10:32:04 $
+ * last change: $Author: vg $ $Date: 2003-12-17 18:39:24 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -115,7 +115,7 @@ double BesselJ( double x, sal_Int32 n ) throw( IllegalArgumentException )
TERM(n,0) = (x/2)^n / n!
*/
- double fTerm = pow( x / 2.0, n ) / Fak( n );
+ double fTerm = pow( x / 2.0, (double)n ) / Fak( n );
sal_Int32 nK = 1; // Start the iteration with k=1.
fResult = fTerm; // Start result with TERM(n,0).
@@ -201,7 +201,7 @@ double BesselI( double x, sal_Int32 n ) throw( IllegalArgumentException )
TERM(n,0) = (x/2)^n / n!
*/
- double fTerm = pow( x / 2.0, n ) / Fak( n );
+ double fTerm = pow( x / 2.0, (double)n ) / Fak( n );
sal_Int32 nK = 1; // Start the iteration with k=1.
fResult = fTerm; // Start result with TERM(n,0).