[Bug 237800] pow(3) returns inaccurate results

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 8 19:00:52 UTC 2019


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

sgk at troutmask.apl.washington.edu changed:

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

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

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

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


More information about the freebsd-numerics mailing list