Ilya Gorbunov
|
a78b08d9c7
|
Use generic coerceIn for nullable primitives, provide specialization for non-nullable ones.
Fix docs for coerceAtMost.
|
2016-01-24 06:44:13 +03:00 |
|
Ilya Gorbunov
|
de11ed4fc6
|
Primitive Companion objects do not longer implement IntegerConstants and FloatingPointConstants. All declarations moved inside companions.
IntegerConstants and FloatingPointConstants are dropped.
#KT-8897 Fixed
|
2015-12-24 06:17:03 +03:00 |
|
Yan Zhulanow
|
9d1af5a17e
|
Fix tests: "infix modifier required" and "operator modifier required" errors
|
2015-11-27 15:51:11 +03:00 |
|
Ilya Gorbunov
|
794819cea2
|
StdLib cleanup: make calls non-infix
|
2015-11-21 00:54:10 +03:00 |
|
Ilya Gorbunov
|
6bac3e1986
|
Drop Ranges, Progressions, ProgressionIterators for Double and Float.
Undeprecate generic Comparable.rangeTo, but return private implementation instead.
Undeprecate contains and coerceIn for generic ranges.
|
2015-11-11 03:53:47 +03:00 |
|
Ilya Gorbunov
|
69dc6701cc
|
Deprecate Double, Float and Comparable range implementations.
|
2015-10-19 15:37:41 +03:00 |
|
Ilya Gorbunov
|
404b228954
|
StdLib cleanup: replace fails with assertFails
|
2015-10-07 22:36:06 +03:00 |
|
Denis Zharkov
|
5cecaa6f87
|
Get rid of deprecated annotations and modifiers in stdlib (besides JS)
|
2015-09-18 10:14:28 +03:00 |
|
Ilya Gorbunov
|
1cf4a407d1
|
JS: Provide MIN_VALUE and MAX_VALUE member constants for Double and Float companion objects.
JVM: Make MIN_VALUE and MAX_VALUE not an extension but member constant properties of Double and Float companion objects.
|
2015-05-26 00:26:19 +03:00 |
|
Ilya Gorbunov
|
f18b9caa8d
|
JS: Provide MIN_VALUE and MAX_VALUE member constants for Int, Long, Short and Byte companion objects.
JVM: Make MIN_VALUE and MAX_VALUE not an extension but member constant properties of Int, Long, Short and Byte companion objects.
|
2015-05-17 17:26:25 +03:00 |
|
Ilya Gorbunov
|
592e6582b3
|
Provide isInfinite() and isFinite() functions for Double and Float.
#KT-7126 Fixed
|
2015-04-22 18:21:31 +03:00 |
|
Ilya Gorbunov
|
ccc3646bb8
|
Generate coerceAtLeast, coerceAtMost and coerceIn extension functions for numbers and other Comparables.
|
2015-04-22 18:20:47 +03:00 |
|