complex: add C11 CMPLX macros and replace cpack with them
This commit is contained in:
parent
e2fe959fe2
commit
cfbaba79a2
47 changed files with 152 additions and 156 deletions
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
float complex csinf(float complex z)
|
||||
{
|
||||
z = csinhf(cpackf(-cimagf(z), crealf(z)));
|
||||
return cpackf(cimagf(z), -crealf(z));
|
||||
z = csinhf(CMPLXF(-cimagf(z), crealf(z)));
|
||||
return CMPLXF(cimagf(z), -crealf(z));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue