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
04eaaad8
Kaydet (Commit)
04eaaad8
authored
Eki 29, 2013
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add missing boilerplates.
Change-Id: Iec0e62d650c81e5c8382b8db8946ac5f982fefe5
üst
a31b1be6
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
87 additions
and
4 deletions
+87
-4
OPBase.hxx
sc/source/core/opencl/OPBase.hxx
+11
-0
OP_Statistical.cxx
sc/source/core/opencl/OP_Statistical.cxx
+10
-0
OP_database.cxx
sc/source/core/opencl/OP_database.cxx
+12
-2
OP_finacial.cxx
sc/source/core/opencl/OP_finacial.cxx
+11
-0
OP_math.cxx
sc/source/core/opencl/OP_math.cxx
+12
-2
formulagroupcl_finacial.hxx
sc/source/core/opencl/formulagroupcl_finacial.hxx
+15
-0
formulagroupcl_public.hxx
sc/source/core/opencl/formulagroupcl_public.hxx
+16
-0
No files found.
sc/source/core/opencl/OPBase.hxx
Dosyayı görüntüle @
04eaaad8
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef OPBASE
#define OPBASE
#include "formulagroup.hxx"
...
...
@@ -184,3 +193,5 @@ public:
}}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sc/source/core/opencl/OP_Statistical.cxx
Dosyayı görüntüle @
04eaaad8
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef OP_STATISTICAL
#define OP_STATISTICAL
#include "formulagroup.hxx"
...
...
@@ -726,3 +735,4 @@ class OpRsq:public Normal{
}}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sc/source/core/opencl/OP_database.cxx
Dosyayı görüntüle @
04eaaad8
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef OP_DATABASE
#define OP_DATABASE
#include "formulagroup.hxx"
...
...
@@ -18,4 +27,6 @@ using namespace formula;
namespace
sc
{
namespace
opencl
{
}}
#endif
\ No newline at end of file
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sc/source/core/opencl/OP_finacial.cxx
Dosyayı görüntüle @
04eaaad8
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef OP_FINACIAL
#define OP_FINACIAL
#include "formulagroup.hxx"
...
...
@@ -2903,3 +2912,5 @@ class OpMIRR: public MIRR{
}
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sc/source/core/opencl/OP_math.cxx
Dosyayı görüntüle @
04eaaad8
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef OP_MATH
#define OP_MATH
#include "formulagroup.hxx"
...
...
@@ -84,4 +93,6 @@ public:
virtual
std
::
string
BinFuncName
(
void
)
const
{
return
"Csc"
;
}
};
}}
#endif
\ No newline at end of file
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sc/source/core/opencl/formulagroupcl_finacial.hxx
Dosyayı görüntüle @
04eaaad8
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef SC_OPENCL_FORMULAGROUPCL_FINACIAL_HXX
#define SC_OPENCL_FORMULAGROUPCL_FINACIAL_HXX
const
char
*
finacialFunc
=
"bool approxEqual(double a, double b)
\n
"
"{
\n
"
...
...
@@ -741,3 +753,6 @@ const char* finacialFunc =
" return GetDiffDate360_( nDay1, nMonth1, nYear1, IsLeapYear( nYear1 ), nDay2, nMonth2, nYear2, bUSAMethod );
\n
"
"}
\n
"
;
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sc/source/core/opencl/formulagroupcl_public.hxx
Dosyayı görüntüle @
04eaaad8
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef SC_OPENCL_FORMULAGROUPCL_PUBLIC_HXX
#define SC_OPENCL_FORMULAGROUPCL_PUBLIC_HXX
const
char
*
publicFunc
=
"int isNan(double a) { return a != a; }
\n
"
"double fsum(double a, double b) { return isNan(a)?b:a+b; }
\n
"
...
...
@@ -5,3 +17,7 @@ const char* publicFunc =
"double fdiv(double a, double b) { return a/b; }
\n
"
"double strequal(unsigned a, unsigned b) { return (a==b)?1.0:0; }
\n
"
;
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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