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
70a50e83
Kaydet (Commit)
70a50e83
authored
Eki 24, 2015
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add delta for double comparison
Change-Id: I008438a6b1651068165e6a07b16ea0b2e447074f
üst
5f7bc190
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
test-rtl-math.cxx
sal/qa/rtl/math/test-rtl-math.cxx
+2
-2
No files found.
sal/qa/rtl/math/test-rtl-math.cxx
Dosyayı görüntüle @
70a50e83
...
...
@@ -104,7 +104,7 @@ public:
CPPUNIT_ASSERT_EQUAL
(
true
,
rtl
::
math
::
isNan
(
x
));
x
=
3.0
;
res
=
rtl
::
math
::
erf
(
-
x
);
CPPUNIT_ASSERT_
EQUAL
(
-
rtl
::
math
::
erf
(
x
),
res
);
CPPUNIT_ASSERT_
DOUBLES_EQUAL
(
-
rtl
::
math
::
erf
(
x
),
res
,
1E-12
);
}
void
test_erfc
()
{
...
...
@@ -123,7 +123,7 @@ public:
CPPUNIT_ASSERT_EQUAL
(
true
,
rtl
::
math
::
isNan
(
x
));
x
=
3.0
;
res
=
rtl
::
math
::
erfc
(
-
x
);
CPPUNIT_ASSERT_
EQUAL
(
2.0
-
rtl
::
math
::
erfc
(
x
),
res
);
CPPUNIT_ASSERT_
DOUBLES_EQUAL
(
2.0
-
rtl
::
math
::
erfc
(
x
),
res
,
1E-12
);
}
void
test_expm1
()
{
...
...
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