summaryrefslogtreecommitdiff
path: root/lib/libc/arch/m68k/gen/isinf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/m68k/gen/isinf.c')
-rw-r--r--lib/libc/arch/m68k/gen/isinf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/arch/m68k/gen/isinf.c b/lib/libc/arch/m68k/gen/isinf.c
index cbe2649a478..fbfde98a3eb 100644
--- a/lib/libc/arch/m68k/gen/isinf.c
+++ b/lib/libc/arch/m68k/gen/isinf.c
@@ -33,11 +33,12 @@
#if defined(LIBC_SCCS) && !defined(lint)
/*static char sccsid[] = "from: @(#)isinf.c 5.1 (Berkeley) 3/18/91";*/
-static char rcsid[] = "$Id: isinf.c,v 1.1 1995/10/18 08:41:29 deraadt Exp $";
+static char rcsid[] = "$Id: isinf.c,v 1.2 1996/02/24 09:12:42 niklas Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
+int
isnan(d)
double d;
{
@@ -51,6 +52,7 @@ isnan(d)
return(p->exp == 2047 && (p->manh || p->manl));
}
+int
isinf(d)
double d;
{