mirror of
https://github.com/fluencelabs/musl
synced 2025-06-27 13:41:57 +00:00
complex: add C11 CMPLX macros and replace cpack with them
This commit is contained in:
@ -7,5 +7,5 @@
|
||||
double complex cacos(double complex z)
|
||||
{
|
||||
z = casin(z);
|
||||
return cpack(M_PI_2 - creal(z), -cimag(z));
|
||||
return CMPLX(M_PI_2 - creal(z), -cimag(z));
|
||||
}
|
||||
|
Reference in New Issue
Block a user