blob: 6731aaa2aaaebd74cb8bc22a17f729841e436ad7 (
plain) (
tree)
|
|
#include "libm.h"
#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
long double complex cprojl(long double complex z)
{
return cproj(z);
}
#else
long double complex cprojl(long double complex z)
{
if (isinf(creall(z)) || isinf(cimagl(z)))
return CMPLXL(INFINITY, copysignl(0.0, creall(z)));
return z;
}
#endif
|