summaryrefslogtreecommitdiffstats
path: root/lib/libm/arch/vax
diff options
context:
space:
mode:
authormartynas <martynas@openbsd.org>2008-06-12 18:06:10 +0000
committermartynas <martynas@openbsd.org>2008-06-12 18:06:10 +0000
commita982ed66e23894537aaa04fd453bd173ee012803 (patch)
treed4445f5d298aeddfdd1dcde4c92e54f47f1a1ed8 /lib/libm/arch/vax
parentmake bcachestats visible in systat io - from mickey. (diff)
downloadwireguard-openbsd-a982ed66e23894537aaa04fd453bd173ee012803.tar.xz
wireguard-openbsd-a982ed66e23894537aaa04fd453bd173ee012803.zip
add isinff and isnanf. no objection millert@
Diffstat (limited to 'lib/libm/arch/vax')
-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.
*/