aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/m68k/fpu/e_acos.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/m68k/fpu/e_acos.c')
-rw-r--r--sysdeps/m68k/fpu/e_acos.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/m68k/fpu/e_acos.c b/sysdeps/m68k/fpu/e_acos.c
index 34dfc82cff..ae77dabf98 100644
--- a/sysdeps/m68k/fpu/e_acos.c
+++ b/sysdeps/m68k/fpu/e_acos.c
@@ -22,9 +22,12 @@ Cambridge, MA 02139, USA. */
#ifndef FUNC
#define FUNC __ieee754_acos
#endif
+#ifndef float_type
+#define float_type double
+#endif
-double
-DEFUN(FUNC, (x), double x)
+float_type
+DEFUN(FUNC, (x), float_type x)
{
return __m81_u(FUNC)(x);
}