1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-26 14:04:15 +03:00
Zdenek Kabelac 8e1f2e733e gcc: fix comparing floating point warning
Since we enabled some more gcc warnings - let's adapt for
it and check for double equals with DBL_EPSILON.

Current close_enough() is far from perfect
for more details see i.e. here:
http://randomascii.wordpress.com/2012/01/11/tricks-with-the-floating-point-format/
but fairly enough for lvm2 use-case.
2013-10-25 10:43:32 +02:00
..
2012-02-08 12:52:58 +00:00
2013-10-09 20:08:07 +01:00
2013-06-16 00:07:32 +02:00
2013-06-16 00:07:32 +02:00
2013-09-23 21:50:14 +01:00