Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Oct 2025 23:33:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        numerics@FreeBSD.org
Subject:   [Bug 251091] lib msun remainder() gives incorrect result on powerpc64
Message-ID:  <bug-251091-18636-8I6Ni76GBK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251091-18636@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251091-18636@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251091-18636-8I6Ni76GBK>