[Bug 237800] pow(3) returns inaccurate results

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 9 17:31:00 UTC 2019


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

--- Comment #8 from sgk at troutmask.apl.washington.edu ---
(In reply to Karl Williamson from comment #6)

Karl,

Thanks for the follow-up.  FreeBSD setting up bugzilla
to kill the ability to reply via email is rather dumb
IMHO.

To the matter at hand, checking for equality between
computed floating point values is not a Good Thing.
One normally checks either the ULP as I have done, or
a relative error such as "abs(x - y) / abs(x)" is
less than some tiny value.

It seems that whomever is developing the perl
module should read Goldberg's paper.

https://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html

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


More information about the freebsd-numerics mailing list