Benjamin Bannier created MESOS-4019:
---------------------------------------
Summary: Consider enabling (non-fatal) compiler warnings about
float equality comparisons
Key: MESOS-4019
URL: https://issues.apache.org/jira/browse/MESOS-4019
Project: Mesos
Issue Type: Wish
Reporter: Benjamin Bannier
Comparing floating point numbers for equality does what is naively expected
only in a very limited number of cases. More often than not one should probably
instead either choose types allowing exact representation, or switch to a
domain-specific equality measure.
We should consider enabling compiler warnings on such operations.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)