Subject: Re: [geometry] warning: comparing floating point with == or != is unsafe
From: Adam Wulkiewicz (adam.wulkiewicz_at_[hidden])
Date: 2013-06-06 20:36:42
Mateusz Loskot wrote:
> Adam Wulkiewicz wrote
>> Mateusz Loskot wrote:
>>> What's out approach to float-point comparisons across the library?
>>> I'm kidding :-)
>>> Just for comparisons with Zero, I wonder if we could stick to absolute
>>> epsilon comparisons .
>>> There are some places, i.e. in the index, with such cases and
>>> TODO comments too, so perhaps we could decide on it soon.
>> Which place in the Index do you have in mind?
> For example,
> lines 98-106
Ah, I've forgotten to handle this after porting it from the old version.
Thanks for digging this up. Yes, there should probably be comparison
Geometry list run by mateusz at loskot.net