I was just starting to learn Kotlin, and I came across a strange suggestion in the documentation of the main types :
-0.0 is considered less than 0.0
I understand that their values will not be the same in the supplement, but I do not know how this can be used in the code.
, IEEE 754, , , , , . , -0.0 0.0 ( ).
-0.0
0.0
, , NaN , , NaN!= NaN.
NaN
, , NaN , , ( ).
, , , . , ( Any ), , , IEEE 754.
Any
Source: https://habr.com/ru/post/1693159/More articles:Использовать проверенные элементы для обучения алгоритму машинного обучения в блестящем приложении - rPython: если первый элемент равен кортежу вместе с другими элементами - pythonRunning a test by a method using a completed future - javaPointers and std :: string - Strange behavior - C ++ - c ++Google Cast button not showing up on Android - androidHow to manage page cache resources when starting Kafka in Kubernetes - kubernetesHow can I fade a transition to go to another - javascriptWhy does the Apple KVO implementation use subclasses instead of swizzling? - objective-cBreakpoints / Clusters with Line - matlabHow to get data from a database - phpAll Articles