diff options
Diffstat (limited to 'lib/libc/arch/ns32k/gen/fpgetround.c')
-rw-r--r-- | lib/libc/arch/ns32k/gen/fpgetround.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/libc/arch/ns32k/gen/fpgetround.c b/lib/libc/arch/ns32k/gen/fpgetround.c deleted file mode 100644 index 4ec51c765d5..00000000000 --- a/lib/libc/arch/ns32k/gen/fpgetround.c +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Written by J.T. Conklin, Apr 28, 1995 - * Public domain. - */ - -#if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: fpgetround.c,v 1.2 1996/08/19 08:16:42 tholo Exp $"; -#endif /* LIBC_SCCS and not lint */ - -#include <ieeefp.h> - -fp_rnd -fpgetround() -{ - int x; - - __asm__("sfsr %0" : "=r" (x)); - return (x >> 7) & 0x03; -} |