[Issue 15763] std.math.approxEqual is not symmetric
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Mar 31 16:50:20 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=15763
Steven Schveighoffer <schveiguy at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |schveiguy at yahoo.com
Assignee|nobody at puremagic.com |schveiguy at yahoo.com
--- Comment #1 from Steven Schveighoffer <schveiguy at yahoo.com> ---
I think that you need to pick one of the two parameters to determine the
relative error.
One could use a some test to determine the "best" value, but "best" is
subjective. Armed with the knowledge that the second parameter is the one that
is the basis for the percentage difference, you can call it in the correct
order.
Working on Doc PR.
--
More information about the Digitalmars-d-bugs
mailing list