]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Cleanup debugging code in libm
authorSteve Kargl <kargl@FreeBSD.org>
Mon, 31 Jul 2023 22:32:54 +0000 (01:32 +0300)
committerKonstantin Belousov <kib@FreeBSD.org>
Thu, 3 Aug 2023 04:27:58 +0000 (07:27 +0300)
commitc66a499e037efd268a744e487e7d0c45a4944a9b
treeecbb450027dc462fd6dbdbce0d7fbe2ff8a8b122
parent8a5c836b51ce29fb22e0692c03fbc1e405c6522f
Cleanup debugging code in libm

David Das (das@) committed Bruce Evan's (bde's) WIP code for
expl() and logl() in git revision 25a4d6bfda29119.  That code
included instrumentation that allowed bde to generate pari
scripts used in testing/debugging.  This patch removes that
instrumentation as it is unlikely that others will ever use it.

* math/libm/msun/src/math_private.h:
  . Remove bde's macros for the generation of pari scripts.

* math/libm/msun/ld128/s_expl.c:
* math/libm/msun/ld128/s_logl.c:
* math/libm/msun/ld80/s_expl.c:
* math/libm/msun/ld80/s_logl.c:
  . Remove bde's DOPRINT_START macro.
  . Change RETURNP to RETURNF.
  . Change RETURN2P to RETURNF.  Adjust arguments as needed.
  . Change RETURNPI to RETURNI.
  . Change RETURN2PI to RETURNI.  Adjust arguments as needed.

PR: 272765
MFC after: 1 week
lib/msun/ld128/s_expl.c
lib/msun/ld128/s_logl.c
lib/msun/ld80/s_expl.c
lib/msun/ld80/s_logl.c
lib/msun/src/math_private.h