summaryrefslogtreecommitdiff
path: root/lib/libm/arch
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2008-06-12 18:06:11 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2008-06-12 18:06:11 +0000
commit51c11077964c2df7e3d3ea02993df394cb24d614 (patch)
tree8813def33d087aba4f4a919cf025baf9007bf85b /lib/libm/arch
parentaf0fde2ae4287747c85053efe30f8e6ef048c4a4 (diff)
add isinff and isnanf. no objection millert@
Diffstat (limited to 'lib/libm/arch')
-rw-r--r--lib/libm/arch/vax/n_support.S22
1 files changed, 21 insertions, 1 deletions
diff --git a/lib/libm/arch/vax/n_support.S b/lib/libm/arch/vax/n_support.S
index f4d318614e4..59a02975217 100644
--- a/lib/libm/arch/vax/n_support.S
+++ b/lib/libm/arch/vax/n_support.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: n_support.S,v 1.9 2008/06/12 16:11:36 martynas Exp $ */
+/* $OpenBSD: n_support.S,v 1.10 2008/06/12 18:06:10 martynas Exp $ */
/* $NetBSD: n_support.S,v 1.1 1995/10/10 23:40:30 ragge Exp $ */
/*
* Copyright (c) 1985, 1993
@@ -40,6 +40,8 @@
* scalbn(x,N),
* finite(x),
* remainder(x,y),
+ * isinff(x),
+ * isnanf(x),
* Coded in vax assembly language by K.C. Ng, 3/14/85.
* Revised by K.C. Ng on 4/9/85.
*/
@@ -209,6 +211,24 @@ Ret:
ret
/*
+ * int isinff(x)
+ * float x;
+ */
+
+ENTRY(isinff, 0)
+ clrl r0
+ ret
+
+/*
+ * int isnanf(x)
+ * float x;
+ */
+
+ENTRY(isnanf, 0)
+ clrl r0
+ ret
+
+/*
* signbit(x), signbitl(x), signbitf(x) -- returns zero if x is
* non-negative.
*/