ilya.gorbunov
08/09/2017, 4:35 PMClosedRange.contains is a virtual method, which can be implemented differently in inheritors.
We've strived to reimplement contains extensions such that they delegated the check to the contains member.
It turned out that could lead to some weird results related to rounding, as it was mentioned in the issue https://youtrack.jetbrains.com/issue/KT-18938. We're still to discuss what should be the correct behaviour in that case.