summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1997-01-02 02:28:59 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1997-01-02 02:28:59 +0000
commitf47c76a9663f320eca3cd13b1407c4792c83e32d (patch)
treed4099f6ea77b19bd62faf596f375170ff4580679
parent3ed3fb443a868f29cbbfa56cc504cbe3a388de31 (diff)
Stub routines for set|get fpsticky, fpround, ...
Fixing this is listed in the Todo section.
-rw-r--r--lib/libc/arch/powerpc/gen/fp.c44
1 files changed, 44 insertions, 0 deletions
diff --git a/lib/libc/arch/powerpc/gen/fp.c b/lib/libc/arch/powerpc/gen/fp.c
new file mode 100644
index 00000000000..4249e864edf
--- /dev/null
+++ b/lib/libc/arch/powerpc/gen/fp.c
@@ -0,0 +1,44 @@
+#if defined(LIBC_SCCS) && !defined(lint)
+static char rcsid[] = "$OpenBSD: fp.c,v 1.1 1997/01/02 02:28:58 rahnds Exp $";
+#endif /* LIBC_SCCS and not lint */
+
+#include <ieeefp.h>
+
+fp_except
+fpgetmask()
+{
+ return 0; /* stub --- XXX */
+}
+
+fp_rnd
+fpgetround()
+{
+ return 0; /* stub --- XXX */
+}
+
+fp_except
+fpsetmask(mask)
+ fp_except mask;
+{
+ return 0; /* stub --- XXX */
+}
+
+fp_rnd
+fpsetround(rnd_dir)
+ fp_rnd rnd_dir;
+{
+ return 0; /* stub --- XXX */
+}
+
+fp_except
+fpsetsticky(sticky)
+ fp_except sticky;
+{
+ return 0; /* stub --- XXX */
+}
+
+fp_except
+fpgetsticky()
+{
+ return 0; /* stub --- XXX */
+}