1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- #include "cdefs-compat.h"
- #include <openlibm_complex.h>
- #include <openlibm_math.h>
- #include "math_private.h"
- OLM_DLLEXPORT double complex
- cproj(double complex z)
- {
- if (!isinf(creal(z)) && !isinf(cimag(z)))
- return (z);
- else
- return (CMPLX(INFINITY, copysign(0.0, cimag(z))));
- }
- #if LDBL_MANT_DIG == 53
- __weak_reference(cproj, cprojl);
- #endif
|