worldforge/ember — comment on commit d16e1d57bd0aaea2403c9e32705ac5a1d54f1810
File: src/components/ogre/widgets/adapters/ValueTypeHelper.cpp line 41
By sajty:

Your solution is good too, but I wanted to respond to "fiddle with epsilon":
`return (std::fabs(static_cast(one) - static_cast(two)) < static_cast(one) * 0.001);`
Where 0.001 is the precision of the comparsion.