Kotlin: -0.0 is considered less than 0.0
Hate that shit.
From here https://kotlinlang.org/docs/numbers.html#floating-point-numbers-comparison
From here https://kotlinlang.org/docs/numbers.html#floating-point-numbers-comparison
Kotlin documentaion says:
-0.0 is considered less than 0.0
fun main() { println(-0.0<0.0) //false println(-0.0>0.0) //false println(-0.0<=0.0) //true println(-0.0>=0.0) //true println(-0.0==0.0) //true }