]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86_64: Fix SSE4.2 libmvec atan2 function accuracy [BZ #28765]
authorSunil K Pandey <skpgkp2@gmail.com>
Wed, 12 Jan 2022 19:02:19 +0000 (11:02 -0800)
committerSunil K Pandey <skpgkp2@gmail.com>
Wed, 12 Jan 2022 21:23:22 +0000 (13:23 -0800)
commit49e2bf58d57758df244eb621d63cedd2ab6d1971
tree0fc8b8525c5e1efdc8f125c7a050e505ea7e39c9
parentfcfc9086815bf0d277ad47a90ee3fda4c37acca8
x86_64: Fix SSE4.2 libmvec atan2 function accuracy [BZ #28765]

This patch fixes SSE4.2 libmvec atan2 function accuracy for following
inputs to less than 4 ulps.

{0x1.bcab29da0e947p-54,0x1.bc41f4d2294b8p-54}   4.19888 ulps
{0x1.b836ed678be29p-588,0x1.b7be6f5a03a8cp-588} 4.09889 ulps

This fixes BZ #28765.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
sysdeps/x86_64/fpu/multiarch/svml_d_atan22_core_sse4.S