|
Message-ID: <20220118150435.GE7074@brightrain.aerifal.cx> Date: Tue, 18 Jan 2022 10:04:35 -0500 From: Rich Felker <dalias@...c.org> To: Damian McGuckin <damianm@....com.au> Cc: musl@...ts.openwall.com Subject: Re: cproj.c in 1.2.2 On Tue, Jan 18, 2022 at 08:46:25PM +1100, Damian McGuckin wrote: > > 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. I don't think you're wrong and I'm pretty sure this was just a mistake in the original writing of the complex code. I'll fix it. Rich
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.