summaryrefslogtreecommitdiff
path: root/libm/float_wrappers.c
diff options
context:
space:
mode:
Diffstat (limited to 'libm/float_wrappers.c')
-rw-r--r--libm/float_wrappers.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/libm/float_wrappers.c b/libm/float_wrappers.c
index 26041d088..36efcfbea 100644
--- a/libm/float_wrappers.c
+++ b/libm/float_wrappers.c
@@ -39,6 +39,7 @@ float asinhf(float);
float atan2f(float, float);
float atanf(float);
float atanhf(float);
+float cargf(float complex);
float cbrtf(float);
float ceilf(float);
float copysignf(float, float);
@@ -136,7 +137,7 @@ float atanhf (float x)
#ifdef L_cargf
float cargf (float complex x)
{
- return (float) carg( (double)x );
+ return (float) carg( (double complex)x );
}
#endif
@@ -535,3 +536,10 @@ float truncf (float x)
return (float) trunc( (double)x );
}
#endif
+
+#ifdef L_fmaf
+float fmaf (float x, float y, float z)
+{
+ return (float) fma( (double)x, (double)y, (double)z );
+}
+#endif