[Bug 298260] [libm] fmaf() mishandled some subnormal input
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 298260] [libm] fmaf() mishandled some subnormal input"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 11 Sep 2026 17:54:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298260
--- Comment #11 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=b08e6a3882b44a09fbda84dd315a431c7a585219
commit b08e6a3882b44a09fbda84dd315a431c7a585219
Author: Steve Kargl <kargl@FreeBSD.org>
AuthorDate: 2026-09-10 23:18:58 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-09-11 17:53:08 +0000
lib/msun: use the same algorithm for sw fmaf(3) as for fma(3)
This fixes rounding at the last bit for subnormals.
PR: 298260
Reviewed by: kib
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D59579
lib/msun/src/s_fmaf.c | 254 +++++++++++++++++++++++++++++++++++++++++++++-----
1 file changed, 230 insertions(+), 24 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.