Sign in
third-party-mirror
/
mingw-w64
/
518dd33c326f65684e8e938262b2a9ca94804cfb
/
.
/
mingw-w64-crt
/
complex
/
cacos.c
blob: 125037c7def94eee010362360958fabbf1915c3a [
file
] [
log
] [
blame
]
#include
<math.h>
#include
<complex.h>
/* cacos ( Z ) = pi/2 - casin ( Z ) */
double
complex cacos
(
double
complex Z
)
{
double
complex
Res
=
casin
(
Z
);
__real__
Res
=
M_PI_2
-
__real__
Res
;
__imag__
Res
=
-
__imag__
Res
;
return
Res
;
}