[Bug 272765] Cleanup debugging code in libm

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 27 Jul 2023 21:18:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272765

            Bug ID: 272765
           Summary: Cleanup debugging code in libm
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: kargl@FreeBSD.org

Created attachment 243657
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243657&action=edit
patch to remove debugging code

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.

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