fix potentially wrong-sign zero in cproj functions at infinity
commit75b3412f3dbda8f1fc6818b8b0cf1d0737c2163c
authorRich Felker <dalias@aerifal.cx>
Tue, 18 Jan 2022 22:31:46 +0000 (18 17:31 -0500)
committerRich Felker <dalias@aerifal.cx>
Tue, 18 Jan 2022 22:31:46 +0000 (18 17:31 -0500)
tree95b73f346323f3d30cedd8a25d19039b1392e38b
parent52f0deb96975401d9f13334dc37f907630224af7
fix potentially wrong-sign zero in cproj functions at infinity

these are specified to use the sign of the imaginary part of the input
as the sign of zero in the result, but wrongly copied the sign of the
real part.
src/complex/cproj.c
src/complex/cprojf.c
src/complex/cprojl.c