Ignore:
Timestamp:
Jun 23, 2005, 7:58:05 AM (20 years ago)
Author:
bird
Message:

Fixed some more incorrectness of the 'C' locale, it only defines the first 128 chars.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/math.h

    • Property cvs2svn:cvs-rev changed from 1.7 to 1.8
    r2057 r2058  
    9797    : (sizeof (x) == sizeof (double)) ? __isfinite(x)   \
    9898    : __isfinitel(x))
     99#ifdef IN_INNOTEK_LIBC
     100#undef isinf
     101#define isinf(x)                                        \
     102    ((sizeof (x) == sizeof (float)) ? __isinff(x)       \
     103    : (sizeof (x) == sizeof (double)) ? _STD(isinf)(x)  \
     104    : __isinfl(x))
     105#undef isnan
     106#define isnan(x)                                        \
     107    ((sizeof (x) == sizeof (float)) ? isnanf(x)         \
     108    : (sizeof (x) == sizeof (double)) ? _STD(isnan)(x)  \
     109    : __isnanl(x))
     110#else
    99111#define isinf(x)                                        \
    100112    ((sizeof (x) == sizeof (float)) ? __isinff(x)       \
     
    105117    : (sizeof (x) == sizeof (double)) ? isnan(x)        \
    106118    : __isnanl(x))
     119#endif
    107120#define isnormal(x)                                     \
    108121    ((sizeof (x) == sizeof (float)) ? __isnormalf(x)    \
     
    234247double  hypot(double, double);
    235248int     ilogb(double) __pure2;
     249#ifdef IN_INNOTEK_LIBC
     250int     _STD(isinf)(double) __pure2;
     251int     _STD(isnan)(double) __pure2;
     252#else
    236253int     (isinf)(double) __pure2;
    237254int     (isnan)(double) __pure2;
     255#endif
    238256double  lgamma(double);
    239257long long llrint(double);
Note: See TracChangeset for help on using the changeset viewer.