From: Damian McGuckin <damianm@esi.com.au>
To: MUSL <musl@lists.openwall.com>
Subject: Re: [musl] catan(z)
Date: Thu, 15 Aug 2024 12:12:35 +1000 (AEST) [thread overview]
Message-ID: <cfccb8c7-47ca-a255-c047-b0afeb9fa121@esi.com.au> (raw)
In-Reply-To: <20240815011655.GN10433@brightrain.aerifal.cx>
On Wed, 14 Aug 2024, Rich Felker wrote:
> If I'm following, it sounds like the current behavior is either a
> no-op or wrong and removing the _redupi step entirely would make it
> correct or at least closer to correct. Do you agree?
Just a no-op. Unless there is some subtle reason why Moshier did this why
I am too dumb to understand. I think the issue was that back in the 80s
when he wrote it, there were some unstandardised atan2() routines which
(Moshier alluded to in his book and which) returned results in [0,2*pi]
rather than the now standardized routines with return in [-pi,+pi] and he
was handling those issues.
> Any suggestions for a test to run? I did some basic smoke testing for
> large positive real inputs and got expected results.
Not off hand. Other issues taking my brain cycles right nnow. Young Mr
Nagy might have a better idea.
Thanks - Damian
next prev parent reply other threads:[~2024-08-15 2:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-11 14:01 Damian McGuckin
2024-08-11 20:08 ` Szabolcs Nagy
2024-08-12 3:39 ` Damian McGuckin
2024-08-12 3:56 ` Damian McGuckin
2024-08-12 9:00 ` Szabolcs Nagy
2024-08-15 1:16 ` Rich Felker
2024-08-15 2:12 ` Damian McGuckin [this message]
2024-08-15 14:28 ` Rich Felker
2024-08-16 7:26 ` Szabolcs Nagy
2024-08-16 8:18 ` Eric Pruitt
2024-08-15 13:18 ` Morten Welinder
2024-08-15 13:44 ` Rich Felker
2024-08-16 1:47 ` Damian McGuckin
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=cfccb8c7-47ca-a255-c047-b0afeb9fa121@esi.com.au \
--to=damianm@esi.com.au \
--cc=musl@lists.openwall.com \
/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).