summaryrefslogtreecommitdiff
path: root/lib/libm/noieee_src/n_fmod.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_fmod.c
parentf35e3795316ba6a0ffa8aa83935d29a33f9e04f4 (diff)
^vax^__vax__
Diffstat (limited to 'lib/libm/noieee_src/n_fmod.c')
-rw-r--r--lib/libm/noieee_src/n_fmod.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libm/noieee_src/n_fmod.c b/lib/libm/noieee_src/n_fmod.c
index 99cdf9ca5cd..581382b2c7d 100644
--- a/lib/libm/noieee_src/n_fmod.c
+++ b/lib/libm/noieee_src/n_fmod.c
@@ -64,9 +64,9 @@ static char sccsid[] = "@(#)fmod.c 8.1 (Berkeley) 6/4/93";
* fmod(x,0), fmod(INF,y) are invalid operations and NaN is returned.
*
*/
-#if !defined(vax) && !defined(tahoe)
+#if !defined(__vax__) && !defined(tahoe)
extern int isnan(),finite();
-#endif /* !defined(vax) && !defined(tahoe) */
+#endif /* !defined(__vax__) && !defined(tahoe) */
extern double frexp(),ldexp(),fabs();
#ifdef TEST_FMOD
@@ -82,9 +82,9 @@ double x,y;
double r,w;
if (y == (double)0
-#if !defined(vax) && !defined(tahoe) /* per "fmod" manual entry, SunOS 4.0 */
+#if !defined(__vax__) && !defined(tahoe) /* per "fmod" manual entry, SunOS 4.0 */
|| isnan(y) || !finite(x)
-#endif /* !defined(vax) && !defined(tahoe) */
+#endif /* !defined(__vax__) && !defined(tahoe) */
)
return (x*y)/(x*y);