[Bug 289447] [libm] Fix cpow[fl]() to be consistent with pow[fl]() and glibc

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 19 Sep 2025 01:00:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289447

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch stable/15 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=92801ed02423bd8f7237223168eaa194b28d147f

commit 92801ed02423bd8f7237223168eaa194b28d147f
Author:     Steve Kargl <kargl@FreeBSD.org>
AuthorDate: 2025-09-11 16:38:17 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-09-19 00:58:53 +0000

    lib/msun: cpow{,f,l}(CMLX(0.0, 0.0)) should return 1.0

    PR:     289447

    (cherry picked from commit 8b41ba845c7e10b5f241a1f944fe9a8e19ad75a9)

 lib/msun/src/s_cpow.c  | 5 ++++-
 lib/msun/src/s_cpowf.c | 5 ++++-
 lib/msun/src/s_cpowl.c | 5 ++++-
 3 files changed, 12 insertions(+), 3 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.