summaryrefslogtreecommitdiff
path: root/lib/libm/noieee_src/n_log1p.c
diff options
context:
space:
mode:
authorHugh Graham <hugh@cvs.openbsd.org>2000-10-10 12:17:48 +0000
committerHugh Graham <hugh@cvs.openbsd.org>2000-10-10 12:17:48 +0000
commit3e666abc01da75e0928f1c8e91318acac7e229cb (patch)
tree877fbc5eb116e0437b05dc47fe1ae1a4d1ffb6d9 /lib/libm/noieee_src/n_log1p.c
parentf35e3795316ba6a0ffa8aa83935d29a33f9e04f4 (diff)
^vax^__vax__
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)) */