blob: 15a874bb2f8bbf7ddf337e4233eb97fd3217dccc [file] [log] [blame] [edit]
#include "complex_impl.h"
float complex cprojf(float complex z)
{
if (isinf(crealf(z)) || isinf(cimagf(z)))
return CMPLXF(INFINITY, copysignf(0.0, cimagf(z)));
return z;
}