summaryrefslogtreecommitdiff
path: root/lib/libc/arch
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch')
-rw-r--r--lib/libc/arch/i386/gen/frexp.c5
-rw-r--r--lib/libc/arch/i386/gen/isinf.c5
-rw-r--r--lib/libc/arch/i386/gen/isnan.c5
3 files changed, 9 insertions, 6 deletions
diff --git a/lib/libc/arch/i386/gen/frexp.c b/lib/libc/arch/i386/gen/frexp.c
index e391e7c420c..98b671a67ca 100644
--- a/lib/libc/arch/i386/gen/frexp.c
+++ b/lib/libc/arch/i386/gen/frexp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: frexp.c,v 1.5 2003/06/02 20:18:30 millert Exp $ */
+/* $OpenBSD: frexp.c,v 1.6 2003/06/25 21:15:04 deraadt Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -34,11 +34,12 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: frexp.c,v 1.5 2003/06/02 20:18:30 millert Exp $";
+static char rcsid[] = "$OpenBSD: frexp.c,v 1.6 2003/06/25 21:15:04 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
#include <machine/ieee.h>
+#include <math.h>
/*
* Split the given value into a fraction in the range [0.5, 1.0) and
diff --git a/lib/libc/arch/i386/gen/isinf.c b/lib/libc/arch/i386/gen/isinf.c
index a9baf7ba4d2..981d5b47569 100644
--- a/lib/libc/arch/i386/gen/isinf.c
+++ b/lib/libc/arch/i386/gen/isinf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isinf.c,v 1.5 2003/06/02 20:18:30 millert Exp $ */
+/* $OpenBSD: isinf.c,v 1.6 2003/06/25 21:15:04 deraadt Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -34,11 +34,12 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: isinf.c,v 1.5 2003/06/02 20:18:30 millert Exp $";
+static char rcsid[] = "$OpenBSD: isinf.c,v 1.6 2003/06/25 21:15:04 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
#include <machine/ieee.h>
+#include <math.h>
int
isinf(d)
diff --git a/lib/libc/arch/i386/gen/isnan.c b/lib/libc/arch/i386/gen/isnan.c
index 932bdb20149..07c73c8edd4 100644
--- a/lib/libc/arch/i386/gen/isnan.c
+++ b/lib/libc/arch/i386/gen/isnan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isnan.c,v 1.2 2003/06/02 20:18:30 millert Exp $ */
+/* $OpenBSD: isnan.c,v 1.3 2003/06/25 21:15:04 deraadt Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -34,11 +34,12 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: isnan.c,v 1.2 2003/06/02 20:18:30 millert Exp $";
+static char rcsid[] = "$OpenBSD: isnan.c,v 1.3 2003/06/25 21:15:04 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
#include <machine/ieee.h>
+#include <math.h>
int
isnan(d)