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
ed6a2f3b
Kaydet (Commit)
ed6a2f3b
authored
Ock 10, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use proper bool operations
Change-Id: I6aa9cf5cb7fde0a0bb2902a0b2a9e091ed6d94ab
üst
81cb6a7f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
math.hxx
include/rtl/math.hxx
+3
-3
No files found.
include/rtl/math.hxx
Dosyayı görüntüle @
ed6a2f3b
...
...
@@ -319,7 +319,7 @@ inline double approxCeil(double a)
*/
inline
bool
isFinite
(
double
d
)
{
return
SAL_MATH_FINITE
(
d
)
!=
0
;
return
SAL_MATH_FINITE
(
d
);
}
/** If a value represents +INF or -INF.
...
...
@@ -331,7 +331,7 @@ inline bool isFinite(double d)
inline
bool
isInf
(
double
d
)
{
// exponent==0x7ff fraction==0
return
(
SAL_MATH_FINITE
(
d
)
==
0
)
&&
return
!
SAL_MATH_FINITE
(
d
)
&&
(
reinterpret_cast
<
sal_math_Double
*
>
(
&
d
)
->
inf_parts
.
fraction_hi
==
0
)
&&
(
reinterpret_cast
<
sal_math_Double
*
>
(
&
d
)
->
inf_parts
.
fraction_lo
==
0
);
...
...
@@ -342,7 +342,7 @@ inline bool isInf(double d)
inline
bool
isNan
(
double
d
)
{
// exponent==0x7ff fraction!=0
return
(
SAL_MATH_FINITE
(
d
)
==
0
)
&&
(
return
!
SAL_MATH_FINITE
(
d
)
&&
(
(
reinterpret_cast
<
sal_math_Double
*
>
(
&
d
)
->
inf_parts
.
fraction_hi
!=
0
)
||
(
reinterpret_cast
<
sal_math_Double
*
>
(
&
d
)
->
inf_parts
.
fraction_lo
!=
0
)
);
...
...
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