diff options
author | 1997-01-02 02:28:58 +0000 | |
---|---|---|
committer | 1997-01-02 02:28:58 +0000 | |
commit | 5fa1e635a223420c501828cd86f2505466a428ea (patch) | |
tree | a9762a021965b9ef95c559840188bd60dad4113e /lib/libc | |
parent | getc returns int not char. (diff) | |
download | wireguard-openbsd-5fa1e635a223420c501828cd86f2505466a428ea.tar.xz wireguard-openbsd-5fa1e635a223420c501828cd86f2505466a428ea.zip |
Stub routines for set|get fpsticky, fpround, ...
Fixing this is listed in the Todo section.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/arch/powerpc/gen/fp.c | 44 |
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 */ +} |