incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yda...@apache.org
Subject svn commit: r1363136 - /incubator/ooo/trunk/main/sal/inc/sal/mathconf.h
Date Wed, 18 Jul 2012 21:46:08 GMT
Author: ydario
Date: Wed Jul 18 21:46:07 2012
New Revision: 1363136

URL: http://svn.apache.org/viewvc?rev=1363136&view=rev
Log:
i118923 - OS/2 port: use linux way to detect real numbers.

Modified:
    incubator/ooo/trunk/main/sal/inc/sal/mathconf.h

Modified: incubator/ooo/trunk/main/sal/inc/sal/mathconf.h
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sal/inc/sal/mathconf.h?rev=1363136&r1=1363135&r2=1363136&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sal/inc/sal/mathconf.h (original)
+++ incubator/ooo/trunk/main/sal/inc/sal/mathconf.h Wed Jul 18 21:46:07 2012
@@ -57,10 +57,7 @@ extern "C" {
 #if defined( WNT)
 #define SAL_MATH_FINITE(d) _finite(d)
 #elif defined OS2
-#define SAL_MATH_FINITE(x) 				\
-    ((sizeof (x) == sizeof (float)) ? __isfinitef(x)	\
-    : (sizeof (x) == sizeof (double)) ? __isfinite(x)	\
-    : __isfinitel(x))
+#define SAL_MATH_FINITE(d) finite(d)
 #elif defined LINUX || defined UNX
 #define SAL_MATH_FINITE(d) finite(d)
 #else /* WNT, LINUX, UNX */



Mime
View raw message