summaryrefslogtreecommitdiff
path: root/lib/libc/arch/hppa
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2015-10-27 05:54:50 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2015-10-27 05:54:50 +0000
commit13d71f494bf1496c54af7cf74cd5975eb2c8249e (patch)
tree879e1f95950b0171ef5ac9b7e0d30eaa57a2a27b /lib/libc/arch/hppa
parent041acb8c473ba72d0cd35f51e01ace2298c7c215 (diff)
Wrap the remaining math functions in libc: __fpclassify*(), __flt_rounds(),
and ldexp(). ok millert@
Diffstat (limited to 'lib/libc/arch/hppa')
-rw-r--r--lib/libc/arch/hppa/gen/flt_rounds.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/arch/hppa/gen/flt_rounds.c b/lib/libc/arch/hppa/gen/flt_rounds.c
index 6defc4fb09e..68ee3a5c6f3 100644
--- a/lib/libc/arch/hppa/gen/flt_rounds.c
+++ b/lib/libc/arch/hppa/gen/flt_rounds.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: flt_rounds.c,v 1.5 2014/04/18 15:09:52 guenther Exp $ */
+/* $OpenBSD: flt_rounds.c,v 1.6 2015/10/27 05:54:49 guenther Exp $ */
/*
* Written by Miodrag Vallat. Public domain.
@@ -22,3 +22,4 @@ __flt_rounds()
__asm__ volatile("fstd %%fr0,0(%1)" : "=m" (fpsr) : "r" (&fpsr));
return map[(fpsr >> 41) & 0x03];
}
+DEF_STRONG(__flt_rounds);