Created attachment 235657 [details] Patch to fix PR In a serious of email exchanges with Damian McGuckin <damianm at esi dot com dot au> about proving the accuracy claims in cbrt() and cbrtl(), Damian found an error in the comments in the code. The attached patch rectifies the situation.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=369ea0520a3061c07400d7cd32172efb6af39815 commit 369ea0520a3061c07400d7cd32172efb6af39815 Author: Steve Kargl <kargl@FreeBSD.org> AuthorDate: 2022-08-04 17:31:57 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2022-08-04 17:33:34 +0000 [libm] Correct comments in s_cbrt[l].c Damian McGuckin <damianm at esi dot com dot au> noted that the accuracy claims in the code for cbrt(3) and cbrtl(3) were incorrect. Fix the comments to more accurately describe the accuracies. PR: 265603 MFC after: 3 days lib/msun/src/s_cbrt.c | 2 +- lib/msun/src/s_cbrtl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=9a0d922f57f2aacee8aee7a190f4dcc1cd5d8bf9 commit 9a0d922f57f2aacee8aee7a190f4dcc1cd5d8bf9 Author: Steve Kargl <kargl@FreeBSD.org> AuthorDate: 2022-08-04 17:31:57 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2022-08-07 09:02:36 +0000 [libm] Correct comments in s_cbrt[l].c Damian McGuckin <damianm at esi dot com dot au> noted that the accuracy claims in the code for cbrt(3) and cbrtl(3) were incorrect. Fix the comments to more accurately describe the accuracies. PR: 265603 MFC after: 3 days (cherry picked from commit 369ea0520a3061c07400d7cd32172efb6af39815) lib/msun/src/s_cbrt.c | 2 +- lib/msun/src/s_cbrtl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=162bdeaa7324c4c75b015530eac4bcbd6c58d639 commit 162bdeaa7324c4c75b015530eac4bcbd6c58d639 Author: Steve Kargl <kargl@FreeBSD.org> AuthorDate: 2022-08-04 17:31:57 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2022-08-07 09:03:20 +0000 [libm] Correct comments in s_cbrt[l].c Damian McGuckin <damianm at esi dot com dot au> noted that the accuracy claims in the code for cbrt(3) and cbrtl(3) were incorrect. Fix the comments to more accurately describe the accuracies. PR: 265603 MFC after: 3 days (cherry picked from commit 369ea0520a3061c07400d7cd32172efb6af39815) lib/msun/src/s_cbrt.c | 2 +- lib/msun/src/s_cbrtl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
MARKED AS SPAM