mirror of https://git.musl-libc.org/git/musl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
296 B
18 lines
296 B
#include "libm.h"
|
|
|
|
#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
|
|
long double complex clogl(long double complex z)
|
|
{
|
|
return clog(z);
|
|
}
|
|
#else
|
|
// FIXME
|
|
long double complex clogl(long double complex z)
|
|
{
|
|
long double r, phi;
|
|
|
|
r = cabsl(z);
|
|
phi = cargl(z);
|
|
return CMPLXL(logl(r), phi);
|
|
}
|
|
#endif
|
|
|