Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Apr 2022 19:12:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        numerics@FreeBSD.org
Subject:   [Bug 227179] powl has lower than advertised precision
Message-ID:  <bug-227179-18636-KFrAB8wqvL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227179-18636@https.bugs.freebsd.org/bugzilla/>
References:  <bug-227179-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=3D227179

Dimitry Andric <dim@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dim@FreeBSD.org

--- Comment #4 from Dimitry Andric <dim@FreeBSD.org> ---
The functions were updated via bug 229876, originally submitted by Steve.

There aren't any specific test cases for the mentioned precision issues tho=
ugh.

That said, on my 14.0-CURRENT as of 2022-03-31, I see:

% ./pow-O0
pow(integer{2}, 4.5l) -> 22.627416997969520780220609168509
std::pow(2.l, 4.5l)   -> 22.627416997969520780220609168509

% ./pow-O3
pow(integer{2}, 4.5l) -> 22.627416997969520780220609168509
std::pow(2.l, 4.5l)   -> 22.627416997969520780220609168509

In all cases, it eventually calls <powl@plt>.

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



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