]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Recommit r336497: Fix powl, cpow, cpowf, and cpowl imports from OpenBSD
authorDimitry Andric <dim@FreeBSD.org>
Fri, 20 Jul 2018 18:27:30 +0000 (18:27 +0000)
committerDimitry Andric <dim@FreeBSD.org>
Fri, 20 Jul 2018 18:27:30 +0000 (18:27 +0000)
commit5a4c3b831b2f27edc11dd6ee7d0f8036dad76a87
tree3b299dc85423fb64f4e128a82db81ecbb5582672
parentd0e46652c18f398e33c6d965ded7e2d84cf0d4b4
Recommit r336497: 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
  . Include math_private.h.
  . Use the CMPLX macro from either C99 or math_private.h (depends on
    compiler support) instead of the problematic use of complex I.

Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
PR: 229876
MFC after: 1 week
lib/msun/Makefile
lib/msun/ld80/e_powl.c
lib/msun/man/exp.3
lib/msun/src/math_private.h
lib/msun/src/polevll.c [deleted file]
lib/msun/src/s_cpow.c
lib/msun/src/s_cpowf.c
lib/msun/src/s_cpowl.c