magic-lang / ooc-kean

ooc port of parts of Kean.
MIT License
6 stars 30 forks source link

Correct equals() operator #2111

Closed marcusnaslund closed 6 years ago

marcusnaslund commented 6 years ago

Not including = is a mistake since x==x even as tolerance goes to 0 (which happens in c++ when comparing floating point with integer, for example - and this causes some deviations).