From: rahnds Date: Thu, 2 Jan 1997 02:28:58 +0000 (+0000) Subject: Stub routines for set|get fpsticky, fpround, ... X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5fa1e635a223420c501828cd86f2505466a428ea;p=openbsd Stub routines for set|get fpsticky, fpround, ... Fixing this is listed in the Todo section. --- 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 */ +}