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
884da2ff
Kaydet (Commit)
884da2ff
authored
Kas 24, 2014
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Reduce the amount of data by an order of magnitude
Change-Id: I4a1deb2c1a0cfe67faef6a0d2e3d355b475eb9f0
üst
840f4519
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
calcoptionsdlg.cxx
sc/source/ui/optdlg/calcoptionsdlg.cxx
+7
-7
No files found.
sc/source/ui/optdlg/calcoptionsdlg.cxx
Dosyayı görüntüle @
884da2ff
...
@@ -1038,7 +1038,7 @@ struct Op : Area
...
@@ -1038,7 +1038,7 @@ struct Op : Area
const
OUString
&
rOp
,
const
OUString
&
rOp
,
double
nRangeLo
,
double
nRangeHi
,
double
nRangeLo
,
double
nRangeHi
,
double
nEpsilon
)
:
double
nEpsilon
)
:
Area
(
rTitle
,
10
00
),
Area
(
rTitle
,
2
00
),
msOp
(
rOp
),
msOp
(
rOp
),
mnRangeLo
(
nRangeLo
),
mnRangeLo
(
nRangeLo
),
mnRangeHi
(
nRangeHi
),
mnRangeHi
(
nRangeHi
),
...
@@ -1355,31 +1355,31 @@ IMPL_LINK( ScCalcOptionsDialog, TestClickHdl, PushButton*, )
...
@@ -1355,31 +1355,31 @@ IMPL_LINK( ScCalcOptionsDialog, TestClickHdl, PushButton*, )
return
(
nArg
==
0
);
return
(
nArg
==
0
);
}));
}));
pTestDocument
->
addTest
(
Reduction
(
"Sum"
,
"SUM"
,
5
00
,
0
,
-
1000
,
1000
,
3e-10
,
pTestDocument
->
addTest
(
Reduction
(
"Sum"
,
"SUM"
,
1
00
,
0
,
-
1000
,
1000
,
3e-10
,
[]
(
double
nAccum
,
double
nArg
)
[]
(
double
nAccum
,
double
nArg
)
{
{
return
(
nAccum
+
nArg
);
return
(
nAccum
+
nArg
);
}));
}));
pTestDocument
->
addTest
(
Reduction
(
"Average"
,
"AVERAGE"
,
5
00
,
0
,
-
1000
,
1000
,
3e-10
,
pTestDocument
->
addTest
(
Reduction
(
"Average"
,
"AVERAGE"
,
1
00
,
0
,
-
1000
,
1000
,
3e-10
,
[]
(
double
nAccum
,
double
nArg
)
[]
(
double
nAccum
,
double
nArg
)
{
{
return
(
nAccum
+
nArg
/
static_cast
<
double
>
(
500
)
);
return
(
nAccum
+
nArg
/
100.
);
}));
}));
pTestDocument
->
addTest
(
Reduction
(
"Product"
,
"PRODUCT"
,
5
00
,
1
,
0.1
,
2.5
,
3e-10
,
pTestDocument
->
addTest
(
Reduction
(
"Product"
,
"PRODUCT"
,
1
00
,
1
,
0.1
,
2.5
,
3e-10
,
[]
(
double
nAccum
,
double
nArg
)
[]
(
double
nAccum
,
double
nArg
)
{
{
return
(
nAccum
*
nArg
);
return
(
nAccum
*
nArg
);
}));
}));
pTestDocument
->
addTest
(
Reduction
(
"Min"
,
"MIN"
,
5
00
,
DBL_MAX
,
-
1000
,
1000
,
0
,
pTestDocument
->
addTest
(
Reduction
(
"Min"
,
"MIN"
,
1
00
,
DBL_MAX
,
-
1000
,
1000
,
0
,
[]
(
double
nAccum
,
double
nArg
)
[]
(
double
nAccum
,
double
nArg
)
{
{
return
std
::
min
(
nAccum
,
nArg
);
return
std
::
min
(
nAccum
,
nArg
);
}));
}));
pTestDocument
->
addTest
(
Reduction
(
"Max"
,
"MAX"
,
5
00
,
-
DBL_MAX
,
-
1000
,
1000
,
0
,
pTestDocument
->
addTest
(
Reduction
(
"Max"
,
"MAX"
,
1
00
,
-
DBL_MAX
,
-
1000
,
1000
,
0
,
[]
(
double
nAccum
,
double
nArg
)
[]
(
double
nAccum
,
double
nArg
)
{
{
return
std
::
max
(
nAccum
,
nArg
);
return
std
::
max
(
nAccum
,
nArg
);
...
...
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