mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01:00
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.
This commit is contained in:
parent
9683bd6241
commit
e3b0ace505
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
#include "complex_impl.h"
|
||||
|
||||
/* acosh(z) = i acos(z) */
|
||||
/* acosh(z) = ±i acos(z) */
|
||||
|
||||
double complex cacosh(double complex z)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue