Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sun, 10 Mar 2024 08:56:16 +1100 (AEDT)
From: Damian McGuckin <damianm@....com.au>
To: Szabolcs Nagy <nsz@...t70.net>
cc: MUSL <musl@...ts.openwall.com>
Subject: Re: Re: cacosh.c - Comment needs correction

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

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.