diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-12-22 11:31:12 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-12-22 11:31:12 +0000 |
commit | a0ebeb988d63d94da086b72daf0691f67584724a (patch) | |
tree | 9f02c52ab3ca4863834e14ccffc8335c371eec7f /libm/float_wrappers.c | |
parent | 42256be88ff6114cce268616cfd47a0b10ddc575 (diff) |
- fix fpclassify, signbit, isfinite, isnan, isinf macros for long double math support
- add rule to create preprocessor output for float- and long double math wrapper
Diffstat (limited to 'libm/float_wrappers.c')
-rw-r--r-- | libm/float_wrappers.c | 10 |
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 |