Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2026 17:43:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 294214] clang builtin functions break libm
Message-ID:  <bug-294214-29464-oIRMfmhs67@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-294214-29464@https.bugs.freebsd.org/bugzilla/>

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

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294214

--- Comment #9 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=dc61491025091d9e61048cc3cfb18d25ed354a8b

commit dc61491025091d9e61048cc3cfb18d25ed354a8b
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2026-04-02 21:59:42 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-04-13 17:43:05 +0000

    fmax.3: Add caveat for going beyond C std requirements

    libm's fmax and fmin family of functions treat +0.0 as greater than
    -0.0.  This is not required by the C standard, so the user may not see
    this behaviour due to compiler optimization.

    PR:             294214
    Reviewed by:    fuz
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D56230

    (cherry picked from commit 7764e9ca28a9702aed4ba7391e055ec2fcf35c41)
    (cherry picked from commit 855507463e0d3903d31aa7c084efbf4f819b5d63)

 lib/msun/man/fmax.3 | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-294214-29464-oIRMfmhs67>