On Monday, 1 August 2016 at 21:34:21 UTC, Steven Schveighoffer wrote:
On 8/1/16 5:05 PM, jmh530 wrote:
On Monday, 1 August 2016 at 19:43:57 UTC, Basile B. wrote:

Just a hint don't use approxEqual() to compare GUI object coordinates >!<

It doesn't help that approxEqual basically just ignores maxAbsDiff

https://issues.dlang.org/show_bug.cgi?id=15881

Guys, this thread is 6 years old.

-Steve

... but to be fair, the problem has never been addressed and the docs¹ still read:

The semantics and names of feqrel and approxEqual will be revised.

In particular the proposed function matchDigits (without defaults!) was a good idea :/

[1] http://dlang.org/phobos/std_math.html

Reply via email to