Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LRH.2.02.2201182038560.9986@key0.esi.com.au>
Date: Tue, 18 Jan 2022 20:46:25 +1100 (AEDT)
From: Damian McGuckin <damianm@....com.au>
To: musl@...ts.openwall.com
Subject: 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

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.