From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 20167 invoked from network); 18 Jan 2022 09:46:45 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 18 Jan 2022 09:46:45 -0000 Received: (qmail 28495 invoked by uid 550); 18 Jan 2022 09:46:42 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 28460 invoked from network); 18 Jan 2022 09:46:41 -0000 X-Authentication-Warning: key0.esi.com.au: damianm owned process doing -bs Date: Tue, 18 Jan 2022 20:46:25 +1100 (AEDT) From: Damian McGuckin To: musl@lists.openwall.com Message-ID: User-Agent: Alpine 2.02 (LRH 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: [musl] cproj.c in 1.2.2 In the event that 'z' is mapped to the unit sphere, the code says CMPLX(INFINITY, copysign(0.0, creal(z))) Isn't the definition CMPLX(INFINITY, copysign(0.0, cimag(z))) Or am I wrong? Ditto for cprojf.c and cprojl.c. Stay safe - Damian Pacific Engineering Systems International, 277-279 Broadway, 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