Re: s_sincosl.c: remove unused variable
- Reply: Dimitry Andric : "Re: s_sincosl.c: remove unused variable"
- In reply to: enh via freebsd-numerics : "s_sincosl.c: remove unused variable"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Dec 2021 20:05:52 UTC
On Tue, Dec 14, 2021 at 11:06:53AM -0800, enh via freebsd-numerics wrote: > Newer versions of clang complain about this, and it seems genuinely unneeded. > > It was in the original commit, and judging from that I think it's just > a copy & paste leftover from inlinine sinl() and cosl() --- the < > M_PI_4 case in sinl() needs the original sign. > > Yep. sgn is unneeded. Sorry about that. -- Steve