Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 May 2019 19:00:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        numerics@FreeBSD.org
Subject:   [Bug 237800] pow(3) returns inaccurate results
Message-ID:  <bug-237800-18636-7r5dI1y9DC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-237800-18636@https.bugs.freebsd.org/bugzilla/>
References:  <bug-237800-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=3D237800

sgk@troutmask.apl.washington.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sgk@troutmask.apl.washingto
                   |                            |n.edu

--- Comment #2 from sgk@troutmask.apl.washington.edu ---
troutmask:kargl[219] ./testd -a 10 29
libm =3D  1.0000000000000001e+29, /* 0x45f431e0, 0xfae6d722 */
mpfr =3D  9.9999999999999991e+28, /* 0x45f431e0, 0xfae6d721 */
 ulp =3D 0.51303

A 1/2 ULP error is certainly not a bad result given the
nuances of floating point arithmetic.

--=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-237800-18636-7r5dI1y9DC>