diff options
Diffstat (limited to 'libm/float_wrappers.c')
| -rw-r--r-- | libm/float_wrappers.c | 12 | 
1 files changed, 11 insertions, 1 deletions
| diff --git a/libm/float_wrappers.c b/libm/float_wrappers.c index ab424d300..ffcf252ee 100644 --- a/libm/float_wrappers.c +++ b/libm/float_wrappers.c @@ -10,7 +10,8 @@   * GNU Lesser General Public License version 2.1 or later.   */ -#include "math.h" +#include <math.h> +#include <complex.h>  /* For the time being, do _NOT_ implement these functions   * that are defined by SuSv3 */ @@ -138,6 +139,15 @@ float atanhf (float x)  #endif +#ifdef L_cargf +libm_hidden_proto(carg) +float cargf (float complex x) +{ +	return (float) carg( (double)x ); +} +#endif + +  #ifdef L_cbrtf  libm_hidden_proto(cbrt)  float cbrtf (float x) | 
