From: Damian McGuckin <damianm@esi.com.au>
To: Szabolcs Nagy <nsz@port70.net>
Cc: MUSL <musl@lists.openwall.com>
Subject: Re: [musl] Re: cacosh.c - Comment needs correction
Date: Sun, 10 Mar 2024 08:56:16 +1100 (AEDT) [thread overview]
Message-ID: <8469db8-b6a-ed58-32b-fe192deff4@esi.com.au> (raw)
In-Reply-To: <20240309202319.GE1884416@port70.net>
On Sat, 9 Mar 2024, Szabolcs Nagy wrote:
> i guess the Im(z)==+0 && Re(z)>1 case is tricky with ieee -0.0 as it
> depends on if sqrt(-z) is i or -i for z=1, which depends on if pure
> reals are treated specially sqrt(-1)==i or as sqrt(-1-0i)==-i, in the
> latter case the current code looks right to me, just the comment wrong.
I agree. The code is correct. I thought I had said that.
It is simply that the comment is slightly wrong.
Thanks - Damian
prev parent reply other threads:[~2024-03-09 21:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-08 4:20 [musl] " Damian McGuckin
2024-03-08 4:44 ` [musl] " Damian McGuckin
2024-03-09 20:23 ` Szabolcs Nagy
2024-03-09 21:56 ` Damian McGuckin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8469db8-b6a-ed58-32b-fe192deff4@esi.com.au \
--to=damianm@esi.com.au \
--cc=musl@lists.openwall.com \
--cc=nsz@port70.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).