about summary refs log tree commit diff
path: root/src/complex/ccosl.c
blob: 2530006bfc4262e10b75a75f94e2744d79c739f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "complex_impl.h"

#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
long double complex ccosl(long double complex z)
{
	return ccos(z);
}
#else
long double complex ccosl(long double complex z)
{
	return ccoshl(CMPLXL(-cimagl(z), creall(z)));
}
#endif