[Bug 229876] [libm] Fix powl, cpow, cpowf, and cpowl imports from OpenBSD

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 19 18:45:15 UTC 2018


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

--- Comment #3 from commit-hook at freebsd.org ---
A commit references this bug:

Author: dim
Date: Thu Jul 19 18:44:12 UTC 2018
New revision: 336497
URL: https://svnweb.freebsd.org/changeset/base/336497

Log:
  Fix powl, cpow, cpowf, and cpowl imports from OpenBSD

  This is a follow-up to r336299.

  * lib/msun/Makefile:
    . Remove polevll.c

  * lib/msun/ld80/e_powl.c:
    . Copy contents of polevll.c to here.  This is the only consumer of
      these functions.  Make functions 'static inline'.
    . Make reducl a 'static inline' function.

  * lib/msun/man/exp.3:
    . Remove BUGS section that no longer applies.

  * lib/msun/src/math_private.h:
    . Remove prototypes of __p1evll() and __polevll()

  * lib/msun/src/s_cpow.c:
  * lib/msun/src/s_cpowf.c:
  * lib/msun/src/s_cpowl.c
    . Use the CMPLX macro from either C99 or math_private.h (depends of
      compiler support) instead of the problematic use of complex I.

  Submitted by: Steve Kargl <sgk at troutmask.apl.washington.edu>
  PR:           229876
  MFC after:    1 week

Changes:
  head/lib/msun/Makefile
  head/lib/msun/ld80/e_powl.c
  head/lib/msun/man/exp.3
  head/lib/msun/src/math_private.h
  head/lib/msun/src/polevll.c
  head/lib/msun/src/s_cpow.c
  head/lib/msun/src/s_cpowf.c
  head/lib/msun/src/s_cpowl.c

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


More information about the freebsd-numerics mailing list