projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove useless __yield alias for sched_yield
[oweals/musl.git]
/
src
/
complex
/
csin.c
1
#include "libm.h"
2
3
/* sin(z) = -i sinh(i z) */
4
5
double complex csin(double complex z)
6
{
7
z = csinh(CMPLX(-cimag(z), creal(z)));
8
return CMPLX(cimag(z), -creal(z));
9
}