musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/complex/csin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/complex/csin.c')
-rw-r--r--src/complex/csin.c 4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/complex/csin.c b/src/complex/csin.c
index 246a4595..ad8ae67a 100644
--- a/src/complex/csin.c
+++ b/src/complex/csin.c
@@ -4,6 +4,6 @@
double complex csin(double complex z)
{
- z = csinh(cpack(-cimag(z), creal(z)));
- return cpack(cimag(z), -creal(z));
+ z = csinh(CMPLX(-cimag(z), creal(z)));
+ return CMPLX(cimag(z), -creal(z));
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月15日 18:29:37 +0000

AltStyle によって変換されたページ (->オリジナル) /