Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 431560 | Differences between
and this patch

Collapse All | Expand All

(-)js/src/jsnum.h (-1 / +3 lines)
Lines 97-102 Link Here
97
{
97
{
98
#ifdef WIN32
98
#ifdef WIN32
99
    return _finite(d);
99
    return _finite(d);
100
#elif defined(__UCLIBC__)
101
    return isfinite(d);
100
#else
102
#else
101
    return finite(d);
103
    return finite(d);
102
#endif
104
#endif
Lines 108-114 Link Here
108
#ifdef WIN32
110
#ifdef WIN32
109
    int c = _fpclass(d);
111
    int c = _fpclass(d);
110
    return c == _FPCLASS_NINF || c == _FPCLASS_PINF;
112
    return c == _FPCLASS_NINF || c == _FPCLASS_PINF;
111
#elif defined(SOLARIS)
113
#elif defined(SOLARIS) || defined(__UCLIBC__)
112
    return !finite(d) && !isnan(d);
114
    return !finite(d) && !isnan(d);
113
#else
115
#else
114
    return isinf(d);
116
    return isinf(d);

Return to bug 431560