[Bug 294719] lib/msun: Added fmaximum_mag_num

[email protected] Sat, 02 May 2026 14:56:51 +0000
Newsgroups gmane.os.freebsd.devel.standards
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D294719

--- Comment #13 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D7c20e15592a07ea457cacb0d670694881=
5c8420e

commit 7c20e15592a07ea457cacb0d6706948815c8420e
Author:     Jes=C3=BAs Bl=C3=A1zquez <[email protected]>
AuthorDate: 2026-04-27 16:43:41 +0000
Commit:     Robert Clausecker <[email protected]>
CommitDate: 2026-05-02 14:50:49 +0000

    lib/msun: Replaced pattern to force exception in _num families

    Replaced the old pattern of using a ternary to force addition
    (raising exceptions for sNaN's) with a new one using a volatile
    variable. The _mag_num family was already implemented with this pattern

    PR:             294719
    Reviewed by:    fuz, kargl
    MFC after:      1 month

 lib/msun/src/s_fmaximum_num.c  | 14 ++++++++++----
 lib/msun/src/s_fmaximum_numf.c | 14 ++++++++++----
 lib/msun/src/s_fmaximum_numl.c | 14 ++++++++++----
 lib/msun/src/s_fminimum_num.c  | 14 ++++++++++----
 lib/msun/src/s_fminimum_numf.c | 14 ++++++++++----
 lib/msun/src/s_fminimum_numl.c | 14 ++++++++++----
 6 files changed, 60 insertions(+), 24 deletions(-)

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