mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-13 12:39:22 +08:00
1ed1516136
The rest of "long double" functions aren't compiled with long double and double are not the same. Do the same for all complex functions. Signed-off-by: Pietro Monteiro <pietro@sociotechnical.xyz>
18 lines
289 B
C
18 lines
289 B
C
/* $NetBSD: cargl.c,v 1.1 2014/10/10 00:48:18 christos Exp $ */
|
|
|
|
/*
|
|
* Public domain.
|
|
*/
|
|
|
|
#include <complex.h>
|
|
#include <math.h>
|
|
|
|
/* On platforms where long double is as wide as double. */
|
|
#ifdef _LDBL_EQ_DBL
|
|
long double
|
|
cargl(long double complex z)
|
|
{
|
|
return carg (z);
|
|
}
|
|
#endif
|