Support for new Solaris/OpenIndiana versions

This commit is contained in:
Ulrich Wilkens
2015-05-09 00:14:52 +02:00
committed by Jon Trulson
parent 0306c7c6f2
commit 2b8b5f25b5
14 changed files with 21 additions and 616 deletions

View File

@@ -1729,7 +1729,7 @@ do_round(double result, int ndigits)
int temp;
if (isnan(result)) return result;
#if defined(_AIX) || defined(__aix) || defined(__osf__)
#if defined(_AIX) || defined(__aix) || defined(__osf__) || defined(__sparc)
temp = finite(result);
if (!temp)
return (temp > 0) ? HUGE : -HUGE;
@@ -1849,7 +1849,7 @@ try_compute_i(double guess, double *result, int method)
new_w = w - f / f_prime;
#if defined(_AIX) || defined(__aix) || defined (__osf__)
#if defined(_AIX) || defined(__aix) || defined (__osf__) || defined(__sparc)
if (!(!isnan(new_w) && finite(new_w)))
return FALSE;
#else