https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289447

            Bug ID: 289447
           Summary: [libm] Fix cpow[fl]() to be consistent with pow[fl]()
                    and glibc
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 263688
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=263688&action=edit
path to libm sources

The attached patch addresses an issue raised in

https://lists.freebsd.org/archives/freebsd-hackers/2025-September/005052.html

For pow(0.,0.), the returned value is 1.  For cpow(z,z) with z = CMPLX(0,0),
the returned value is 0.   See the note in pow(3) man page.

The patch brings FreeBSD's libm into agreement with glibc.

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

Reply via email to