Alexander Udalov
|
d115a1ff9c
|
Minor, fix some warnings such as "unused main argument" in generators
|
2020-05-27 23:29:21 +02:00 |
|
Ilya Gorbunov
|
f3fc1197ae
|
Add SIZE_BITS and SIZE_BYTES constants to Double and Float
#KT-29182
|
2020-04-01 08:06:57 +03:00 |
|
Ilya Gorbunov
|
1c93911279
|
Make Double and Float known values constant
#KT-13887
|
2020-04-01 08:06:57 +03:00 |
|
Ilya Gorbunov
|
8f37ace9ee
|
Finally drop deprecated mod functions from numeric types
#KT-26654
|
2020-01-23 19:28:22 +03:00 |
|
Abduqodiri Qurbonzoda
|
1203df7405
|
Deprecate floating point to integral types lesser than Int #KT-30360
|
2020-01-22 23:27:35 +03:00 |
|
Abduqodiri Qurbonzoda
|
432828a2db
|
Clarify floating-point to integral conversion rounding behaviour
|
2019-08-15 00:57:27 +03:00 |
|
Abduqodiri Qurbonzoda
|
96dcafdf35
|
Document order of array elements initialization (KT-32353)
|
2019-07-11 21:18:47 +03:00 |
|
Dmitry Gridin
|
37c856290f
|
Fix minor compile warnings
|
2019-04-25 19:47:39 +07:00 |
|
nikita.movshin
|
65244b4bea
|
Update copyright.
Change the copyright from "JetBrains s.r.o." to
"JetBrains s.r.o. and Kotlin Project contributors"
Update only 2 lines copyright.
|
2019-04-23 20:09:22 +03:00 |
|
Abduqodiri Qurbonzoda
|
636ed025da
|
Replace "binary representation of" with "bits of"
|
2019-03-22 21:18:27 +03:00 |
|
Abduqodiri Qurbonzoda
|
960797b926
|
Replace mistaken "bit sign" with "sign bit"
|
2019-03-22 21:18:27 +03:00 |
|
Abduqodiri Qurbonzoda
|
f36a8db8eb
|
More detailed Primitive.toChar conversion documentation
|
2019-03-22 21:18:27 +03:00 |
|
Abduqodiri Qurbonzoda
|
814d6cf39c
|
Document Array and String get() function behavior (KT-30141)
|
2019-03-15 17:40:19 +03:00 |
|
Abduqodiri Qurbonzoda
|
a0e2ca669b
|
Write docs for primitive types conversions
|
2019-03-13 13:14:37 +03:00 |
|
Abduqodiri Qurbonzoda
|
82002e5e73
|
Remove implementations of conversions from UByte/UShort to Float/Double
|
2019-03-12 02:56:44 +03:00 |
|
Abduqodiri Qurbonzoda
|
fc85781bfc
|
Implement asList, slice & sliceArray extension functions for UArrays
|
2019-03-08 23:34:34 +03:00 |
|
Abduqodiri Qurbonzoda
|
3af6b36401
|
Write docs for unsigned types conversions
|
2019-03-05 17:34:15 +03:00 |
|
Abduqodiri Qurbonzoda
|
ae47130c8e
|
Implement UArray.contains(element) workaround for JS
|
2019-02-25 21:58:53 +03:00 |
|
Abduqodiri Qurbonzoda
|
c1b523ddef
|
Fix UArray.containsAll(Collection<Any?>)
|
2019-02-25 21:58:53 +03:00 |
|
Abduqodiri Qurbonzoda
|
1b6b44c805
|
Implement conversion between floating point numbers and unsigned integers
KT-27108
|
2019-02-25 21:58:03 +03:00 |
|
Ilya Gorbunov
|
1d7ee22bdc
|
Simplify comparisons for small unsigned types that can fit in Int
UByte and UShort can be extended to Int exactly and then compared as ints
|
2018-09-18 22:25:36 +03:00 |
|
Ilya Gorbunov
|
af29dced98
|
Make overridden compareTo in unsigned types inline only
|
2018-09-18 22:25:36 +03:00 |
|
Ilya Gorbunov
|
9e0708e85a
|
Make most of unsigned operations inline only
|
2018-09-18 22:25:36 +03:00 |
|
Mikhail Zarechenskiy
|
7595cb23ab
|
Raise deprecation level for mod operators to ERROR in stdlib
#KT-25217 In Progress
|
2018-09-09 23:55:36 +03:00 |
|
Ilya Gorbunov
|
82d35cfa26
|
Change signed to unsigned widening conversions to sign-extending
e.g. `Byte.toUInt()` now returns `UInt.MAX_VALUE` for Byte value of -1 instead of 0xFFu.
#KT-26594 Fixed
|
2018-09-06 21:25:42 +03:00 |
|
Ilya Gorbunov
|
6360cc3cb5
|
Unsigned arrays: expose storage field as internal PublishedApi
To be able to write basic extensions that access storage array.
|
2018-08-30 14:58:24 +03:00 |
|
Ilya Gorbunov
|
76ff4c9b2f
|
Remove custom hashCode and equals from unsigned types
The generated ones are ok now (on JVM)
|
2018-08-30 14:58:16 +03:00 |
|
Ilya Gorbunov
|
a0b0994651
|
Make unsigned array constructor-like functions inline-only
|
2018-08-30 14:56:53 +03:00 |
|
Ilya Gorbunov
|
f9479d12f9
|
Add missing unsigned array constructors (from size)
#KT-25961 Fixed
|
2018-08-30 14:56:51 +03:00 |
|
Ilya Gorbunov
|
7dc6c3d7ce
|
Prohibit MIN_VALUE step for unsigned progressions
|
2018-08-30 14:56:04 +03:00 |
|
Ilya Gorbunov
|
4e574cb017
|
Improve exception message for invalid steps and document step requirements
#KT-17176
|
2018-08-30 14:56:02 +03:00 |
|
Pap Lőrinc
|
bdf623f711
|
Prohibit step size of min value, as it doesn't have a negated counterpart
#KT-17176
|
2018-08-30 14:56:00 +03:00 |
|
Ilya Gorbunov
|
1792a77a47
|
Generate hashCode and equals for unsigned types
|
2018-08-30 14:52:51 +03:00 |
|
Ilya Gorbunov
|
0c50014e7a
|
Introduce SIZE_BYTES and SIZE_BITS constants for all integral types
#KT-8247 Fixed
|
2018-08-30 14:51:10 +03:00 |
|
Ilya Gorbunov
|
b5fabf3f72
|
Make unsigned types experimental (with warning if not opted-in)
|
2018-07-04 19:12:11 +03:00 |
|
Ilya Gorbunov
|
3349976279
|
Make MIN_VALUE and MAX_VALUE of unsigned types actual constants
|
2018-07-03 03:52:18 +03:00 |
|
Ilya Gorbunov
|
7a208c3e01
|
Simplify unsigned array constructor functions
|
2018-07-03 03:52:18 +03:00 |
|
Ilya Gorbunov
|
615f57f2fc
|
Compile unsigned types sourceset with 1.3 and annotate them with SinceKotlin("1.3")
|
2018-07-03 03:52:18 +03:00 |
|
Ilya Gorbunov
|
3245148206
|
Docs: clarify default element value of CharArray and BooleanArray
|
2018-05-25 21:53:52 +03:00 |
|
Ilya Gorbunov
|
793d34b913
|
Suppress errors about non-public primary constructor and forbidden varargs
|
2018-05-22 22:27:00 +03:00 |
|
Ilya Gorbunov
|
0eee258fce
|
Generate toString implementation for unsigned types
|
2018-05-22 22:26:56 +03:00 |
|
Ilya Gorbunov
|
e988ea5a1c
|
Implement unsigned arithmetic operations including ulong division and remainder
|
2018-05-22 22:26:52 +03:00 |
|
Ilya Gorbunov
|
e01895fb0a
|
Implement unsigned/signed conversions
|
2018-05-22 22:26:47 +03:00 |
|
Ilya Gorbunov
|
89e4fdfa9c
|
Implement unsigned comparisons
|
2018-05-22 22:26:43 +03:00 |
|
Ilya Gorbunov
|
f2c01a9d9b
|
Generate ranges, progressions and progressioniterators for UInt and ULong
|
2018-05-22 22:26:36 +03:00 |
|
Ilya Gorbunov
|
5c6719b1e6
|
Generate arrays of unsigned types
|
2018-05-22 22:26:32 +03:00 |
|
Ilya Gorbunov
|
4fbc48f83f
|
Generate specialized abstract iterators for unsigned types
|
2018-05-22 22:26:28 +03:00 |
|
Ilya Gorbunov
|
188d8ab8dd
|
Generate unsigned integers declarations, mostly without implementations
Generate and/or/xor/inv for UByte/UShort using experimental signed counterparts
|
2018-05-22 22:26:24 +03:00 |
|
Ilya Gorbunov
|
7438d12ad7
|
Move builtins generators to their own source set
Make them depend on bootstrap stdlib.
This is to prevent recompiling the entire project when we need just to
generate builtins sources.
|
2018-04-28 17:38:13 +03:00 |
|