repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
bits/syscall.h: add landlock syscalls from linux v5.13
[musl.git]
/
src
/
complex
/
csinf.c
blob
69f5164eb9982c74559dbf9b2aec8375916205f3
1
#include
"complex_impl.h"
2
3
float complex
csinf
(
float complex
z
)
4
{
5
z
=
csinhf
(
CMPLXF
(-
cimagf
(
z
),
crealf
(
z
)));
6
return
CMPLXF
(
cimagf
(
z
), -
crealf
(
z
));
7
}