Uno.CodeGen icon indicating copy to clipboard operation
Uno.CodeGen copied to clipboard

Floating point comparison should use an epsilon

Open carldebilly opened this issue 7 years ago • 0 comments

When comparing double or single (floating point types), the comparison should be done using an epsilon instead of a straight equality.

https://en.wikipedia.org/wiki/Machine_epsilon

carldebilly avatar Aug 10 '18 15:08 carldebilly