Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
f6f5bde0
Kaydet (Commit)
f6f5bde0
authored
Ock 31, 2013
tarafından
Julien Nabet
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some cppcheck cleaning
Change-Id: I57baea223b0f0a78346d9872665ab85c00c8fc51
üst
a96ae210
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
sysplug.cxx
extensions/source/plugin/win/sysplug.cxx
+1
-2
bessel.cxx
scaddins/source/analysis/bessel.cxx
+2
-3
No files found.
extensions/source/plugin/win/sysplug.cxx
Dosyayı görüntüle @
f6f5bde0
...
...
@@ -82,13 +82,12 @@ PluginComm_Impl::PluginComm_Impl( const OUString& /*rMIME*/, const OUString& rNa
#endif
DBG_ASSERT
(
_plDLL
,
"### loading plugin dll failed!"
);
NPError
nErr
=
NPERR_NO_ERROR
;
NPError
(
WINAPI
*
pEntry
)(
NPPluginFuncs
*
);
retrieveFunction
(
_T
(
"NP_GetEntryPoints"
),
(
void
**
)
&
pEntry
);
_NPPfuncs
.
size
=
sizeof
(
_NPPfuncs
);
_NPPfuncs
.
version
=
0
;
nErr
=
(
*
pEntry
)(
&
_NPPfuncs
);
NPError
nErr
=
(
*
pEntry
)(
&
_NPPfuncs
);
DBG_ASSERT
(
nErr
==
NPERR_NO_ERROR
,
"### NP_GetEntryPoints() failed!"
);
DBG_ASSERT
(
(
_NPPfuncs
.
version
>>
8
)
>=
NP_VERSION_MAJOR
,
...
...
scaddins/source/analysis/bessel.cxx
Dosyayı görüntüle @
f6f5bde0
...
...
@@ -180,7 +180,6 @@ double BesselJ( double x, sal_Int32 N ) throw (IllegalArgumentException, NoConve
double
BesselI
(
double
x
,
sal_Int32
n
)
throw
(
IllegalArgumentException
,
NoConvergenceException
)
{
const
double
fEpsilon
=
1.0E-15
;
const
sal_Int32
nMaxIteration
=
2000
;
const
double
fXHalf
=
x
/
2.0
;
if
(
n
<
0
)
...
...
@@ -203,6 +202,7 @@ double BesselI( double x, sal_Int32 n ) throw( IllegalArgumentException, NoConve
if
(
fTerm
!=
0.0
)
{
nK
=
1
;
const
double
fEpsilon
=
1.0E-15
;
do
{
/* Calculation of TERM(n,k) from TERM(n,k-1):
...
...
@@ -400,7 +400,6 @@ double Bessely1( double fX ) throw( IllegalArgumentException, NoConvergenceExcep
const
double
EulerGamma
=
0.57721566490153286060
;
double
alpha
=
1.0
/
fX
;
double
f_bar
=
-
1.0
;
double
g
=
0.0
;
double
u
=
alpha
;
double
k
=
1.0
;
double
m_bar
=
0.0
;
...
...
@@ -409,7 +408,7 @@ double Bessely1( double fX ) throw( IllegalArgumentException, NoConvergenceExcep
double
g_bar
=
-
2.0
/
fX
;
double
delta_u
=
g_bar_delta_u
/
g_bar
;
u
=
u
+
delta_u
;
g
=
-
1.0
/
g_bar
;
double
g
=
-
1.0
/
g_bar
;
f_bar
=
f_bar
*
g
;
double
sign_alpha
=
-
1.0
;
double
km1mod2
;
//will be (k-1) mod 2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment