summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/complex/cpowl.c
blob: be36f046134aa828445d015131424da05b4ec5e5 (plain)
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 cpowl(long double complex z, long double complex c)
{
	return cpow(z, c);
}
#else
long double complex cpowl(long double complex z, long double complex c)
{
	return cexpl(c * clogl(z));
}
#endif