summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/arch/i386/gen/isinf.c4
-rw-r--r--lib/libc/arch/m68k/gen/isinf.c4
-rw-r--r--lib/libc/arch/ns32k/gen/isinf.c2
-rw-r--r--lib/libc/arch/sparc/gen/isinf.c3
-rw-r--r--lib/libc/arch/sparc/gen/isnan.c3
-rw-r--r--lib/libc/arch/vax/gen/isinf.c4
6 files changed, 15 insertions, 5 deletions
diff --git a/lib/libc/arch/i386/gen/isinf.c b/lib/libc/arch/i386/gen/isinf.c
index 57844aa0da8..d4a4271c698 100644
--- a/lib/libc/arch/i386/gen/isinf.c
+++ b/lib/libc/arch/i386/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:24 deraadt Exp $";
+static char rcsid[] = "$Id: isinf.c,v 1.2 1996/02/24 09:12:39 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;
{
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;
{
diff --git a/lib/libc/arch/ns32k/gen/isinf.c b/lib/libc/arch/ns32k/gen/isinf.c
index b37abbfbd04..9242023d945 100644
--- a/lib/libc/arch/ns32k/gen/isinf.c
+++ b/lib/libc/arch/ns32k/gen/isinf.c
@@ -41,6 +41,7 @@ static char rcsid[] = "";
#include <sys/types.h>
+int
isnan(d)
double d;
{
@@ -54,6 +55,7 @@ isnan(d)
return(p->exp == 2047 && (p->manh || p->manl));
}
+int
isinf(d)
double d;
{
diff --git a/lib/libc/arch/sparc/gen/isinf.c b/lib/libc/arch/sparc/gen/isinf.c
index 735e8e02d47..d3502de6690 100644
--- a/lib/libc/arch/sparc/gen/isinf.c
+++ b/lib/libc/arch/sparc/gen/isinf.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: Header: isinf.c,v 1.1 91/07/08 19:03:34 torek Exp
- * $Id: isinf.c,v 1.1 1995/10/18 08:41:40 deraadt Exp $
+ * $Id: isinf.c,v 1.2 1996/02/24 09:12:47 niklas Exp $
*/
#if defined(LIBC_SCCS) && !defined(lint)
@@ -45,6 +45,7 @@ static char sccsid[] = "@(#)isinf.c 8.1 (Berkeley) 6/4/93";
#include <sys/types.h>
#include <machine/ieee.h>
+int
isinf(d)
double d;
{
diff --git a/lib/libc/arch/sparc/gen/isnan.c b/lib/libc/arch/sparc/gen/isnan.c
index a54b02c3e0f..15db87fd819 100644
--- a/lib/libc/arch/sparc/gen/isnan.c
+++ b/lib/libc/arch/sparc/gen/isnan.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: Header: isnan.c,v 1.1 91/07/08 19:03:34 torek Exp
- * $Id: isnan.c,v 1.1 1995/10/18 08:41:40 deraadt Exp $
+ * $Id: isnan.c,v 1.2 1996/02/24 09:12:48 niklas Exp $
*/
#if defined(LIBC_SCCS) && !defined(lint)
@@ -45,6 +45,7 @@ static char sccsid[] = "@(#)isnan.c 8.1 (Berkeley) 6/4/93";
#include <sys/types.h>
#include <machine/ieee.h>
+int
isnan(d)
double d;
{
diff --git a/lib/libc/arch/vax/gen/isinf.c b/lib/libc/arch/vax/gen/isinf.c
index 7bacdb07d46..cbbaed14bfc 100644
--- a/lib/libc/arch/vax/gen/isinf.c
+++ b/lib/libc/arch/vax/gen/isinf.c
@@ -33,10 +33,11 @@
#if defined(LIBC_SCCS) && !defined(lint)
/* static char sccsid[] = "@(#)isinf.c 8.1 (Berkeley) 6/4/93"; */
-static char rcsid[] = "$NetBSD: isinf.c,v 1.1 1995/04/17 12:23:43 ragge Exp $";
+static char rcsid[] = "$NetBSD: isinf.c,v 1.2 1996/02/05 04:31:42 jtc Exp $";
#endif /* LIBC_SCCS and not lint */
/* ARGSUSED */
+int
isnan(d)
double d;
{
@@ -44,6 +45,7 @@ isnan(d)
}
/* ARGSUSED */
+int
isinf(d)
double d;
{