[Bug 251091] lib msun remainder() gives incorrect result on powerpc64

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 10 Oct 2025 23:33:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251091

--- Comment #6 from Steve Kargl <kargl@FreeBSD.org> ---
For others readers, I've had a private exchange with
Ahmad about his patch.  I'm including that contents
of my reply here:


  I do not have a phabricator account.  That method to
  review patches came after I stopped committing.

  I did look at your patch, and do believe that it
  is the correct fix.  If you compare to remainderf(),
  you'll see that the float version considers the
  entire significand.  I also checked remainderl().
  It calls remquol() and it's implementation is
  much different than the float and double versions.


I failed to mention that I also checked NetBSD and
OpenBSD source code.  These have the same issue as
FreeBSD and they share the same code.

-- 
You are receiving this mail because:
You are on the CC list for the bug.