blob: 40be116276a55e509b91ff206f5766caf03c338e [file] [log] [blame]
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER within this package.
*/
#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;
}