|
Message-ID: <ef75efa8-594d-4864-d566-ab8f3ae2f535@esi.com.au> Date: Fri, 8 Mar 2024 15:44:32 +1100 (AEDT) From: Damian McGuckin <damianm@....com.au> To: MUSL <musl@...ts.openwall.com> Subject: Re: cacosh.c - Comment needs correction On Fri, 8 Mar 2024, Damian McGuckin wrote: > > The routine produces the correct answer. > > However, currently, the comment at the top says > > /* acosh(z) = i acos(z) */ > > I believe this is technically wrong; > > To reflect the code, it should be changed to something like: > > /* cacosh(z) = acosh(x +/- i y) = +/- i acos(x + i y) */ Sorry (fat fingers or worse): /* cacosh(z) = acosh(x +/- i y) = +/- i acos(x +/- i y) */ Thanks - Damian Pacific Engineering Systems International ..... 20D Grose St, Glebe NSW 2037 Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here Views & opinions here are mine and not those of any past or present employer
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.