@nfrankel:
Seems to me like you are solving a non-existing problem
No numeric computation system ever allows comparing floats without an epsilon
So your assumption that any of those snippets should work is wrong to begin with 😞
https://kotlinlang.slack.com/archives/feed/p1467563961000053