Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Apr 2026 07:07:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        numerics@FreeBSD.org
Subject:   [Bug 216865] math powl(3) uses a poor algorithm due to clang kludge
Message-ID:  <bug-216865-18636-GRFuCnlbBE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-216865-18636@https.bugs.freebsd.org/bugzilla/>

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

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

Li-Wen Hsu <lwhsu@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|New                         |Closed
                 CC|                            |lwhsu@FreeBSD.org

--- Comment #1 from Li-Wen Hsu <lwhsu@FreeBSD.org> ---
The imprecise powl() implementation in lib/msun/src/imprecise.c, which simply
delegated to pow() (double precision), was replaced by a long double algorithm.

In src 123afd01341cc509893fea71afcc90b7b3b668b4 (2018-07-15), full-precision
powl() implementations were imported from OpenBSD and added as
lib/msun/ld80/e_powl.c and lib/msun/ld128/e_powl.c. The stub in imprecise.c was
removed at the same time.

Subsequently, imprecise.c itself was disconnected from the build entirely in
src d47b524eadb5a87506fe6ae03febbf72fad2ee06 .

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

home | help

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