From 5fa1e635a223420c501828cd86f2505466a428ea Mon Sep 17 00:00:00 2001 From: rahnds Date: Thu, 2 Jan 1997 02:28:58 +0000 Subject: [PATCH] Stub routines for set|get fpsticky, fpround, ... Fixing this is listed in the Todo section. --- lib/libc/arch/powerpc/gen/fp.c | 44 ++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 lib/libc/arch/powerpc/gen/fp.c 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 + +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 */ +} -- 2.20.1