summaryrefslogtreecommitdiff
path: root/src/complex/csin.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-03-03 21:19:47 -0500
committerJakob Kaivo <jkk@ung.org>2019-03-03 21:19:47 -0500
commit8c7cdf31bd692e1697a5a01664717c3b9dbffc59 (patch)
tree948e7a2d189f5aba85e0f8be3386424290fdb231 /src/complex/csin.c
parent6eb245579dfdefa0da7f59909bf2e3f8b277c426 (diff)
fill out special cases outlined in C18 annex G
Diffstat (limited to 'src/complex/csin.c')
-rw-r--r--src/complex/csin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/complex/csin.c b/src/complex/csin.c
index 13006c01..1f96a7a2 100644
--- a/src/complex/csin.c
+++ b/src/complex/csin.c
@@ -5,7 +5,7 @@
TYPE complex TGFN(csin)(TYPE complex z)
{
- return z;
+ return TGCMPLX(0.0, -TGFN(csinh)(I * z));
}
/*d