Kaydet (Commit) 55c07294 authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS os2port01 (1.3.174); FILE MERGED

2006/11/29 14:26:31 ydario 1.3.174.1: Initial OS/2 import.
üst 9b59de22
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: mathconf.h,v $ * $RCSfile: mathconf.h,v $
* *
* $Revision: 1.3 $ * $Revision: 1.4 $
* *
* last change: $Author: rt $ $Date: 2005-09-08 14:47:42 $ * last change: $Author: vg $ $Date: 2007-09-20 15:08:22 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -66,10 +66,15 @@ extern "C" { ...@@ -66,10 +66,15 @@ extern "C" {
/* SAL_MATH_FINITE(d): test double d on INFINITY, NaN et al. */ /* SAL_MATH_FINITE(d): test double d on INFINITY, NaN et al. */
#if defined WNT #if defined( WNT)
#define SAL_MATH_FINITE(d) _finite(d) #define SAL_MATH_FINITE(d) _finite(d)
#elif defined MAC #elif defined MAC
#define SAL_MATH_FINITE(d) isfinite(d) #define SAL_MATH_FINITE(d) isfinite(d)
#elif defined OS2
#define SAL_MATH_FINITE(x) \
((sizeof (x) == sizeof (float)) ? __isfinitef(x) \
: (sizeof (x) == sizeof (double)) ? __isfinite(x) \
: __isfinitel(x))
#elif defined LINUX || defined UNX #elif defined LINUX || defined UNX
#define SAL_MATH_FINITE(d) finite(d) #define SAL_MATH_FINITE(d) finite(d)
#else /* WNT, MAC, LINUX, UNX */ #else /* WNT, MAC, LINUX, UNX */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment