summaryrefslogtreecommitdiff
path: root/lib/libm/noieee_src/n_log1p.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libm/noieee_src/n_log1p.c')
-rw-r--r--lib/libm/noieee_src/n_log1p.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libm/noieee_src/n_log1p.c b/lib/libm/noieee_src/n_log1p.c
index 84269043f0c..c3ec4acf3bc 100644
--- a/lib/libm/noieee_src/n_log1p.c
+++ b/lib/libm/noieee_src/n_log1p.c
@@ -120,9 +120,9 @@ double x;
double z,s,t,c;
int k;
-#if !defined(vax)&&!defined(tahoe)
+#if !defined(__vax__)&&!defined(tahoe)
if(x!=x) return(x); /* x is NaN */
-#endif /* !defined(vax)&&!defined(tahoe) */
+#endif /* !defined(__vax__)&&!defined(tahoe) */
if(finite(x)) {
if( x > negone ) {
@@ -146,18 +146,18 @@ double x;
/* end of if (x > negone) */
else {
-#if defined(vax)||defined(tahoe)
+#if defined(__vax__)||defined(tahoe)
if ( x == negone )
return (infnan(-ERANGE)); /* -INF */
else
return (infnan(EDOM)); /* NaN */
-#else /* defined(vax)||defined(tahoe) */
+#else /* defined(__vax__)||defined(tahoe) */
/* x = -1, return -INF with signal */
if ( x == negone ) return( negone/zero );
/* negative argument for log, return NaN with signal */
else return ( zero / zero );
-#endif /* defined(vax)||defined(tahoe) */
+#endif /* defined(__vax__)||defined(tahoe) */
}
}
/* end of if (finite(x)) */