diff options
author | Szabolcs Nagy <nsz@port70.net> | 2024-03-10 21:00:40 +0100 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2024-03-14 10:06:15 -0400 |
commit | e3b0ace505155b6b8e301d69924b0773fd82cb6e (patch) | |
tree | 39263b307ccdf990aa7d49d3dbdcfe4cb9d7f934 | |
parent | 9683bd62414604d3bd56cf6bd7be8f54aa31e7d3 (diff) | |
download | musl-e3b0ace505155b6b8e301d69924b0773fd82cb6e.zip musl-e3b0ace505155b6b8e301d69924b0773fd82cb6e.tar.gz musl-e3b0ace505155b6b8e301d69924b0773fd82cb6e.tar.bz2 |
complex: fix comment in cacosh
The principal expressions defining acosh and acos are such that
acosh(z) = ±i acos(z)
where the + is only true on the Im(z)>0 half of the complex plane
(and partly on Im(z)==0 depending on number representation).
fix the comment without expanding on the details.
-rw-r--r-- | src/complex/cacosh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/complex/cacosh.c b/src/complex/cacosh.c index 76127f7..55b857c 100644 --- a/src/complex/cacosh.c +++ b/src/complex/cacosh.c @@ -1,6 +1,6 @@ #include "complex_impl.h" -/* acosh(z) = i acos(z) */ +/* acosh(z) = ±i acos(z) */ double complex cacosh(double complex z) { |