Kotlin 1.5 — Unsigned Integer Types
The UInt
, ULong
, UByte
, UShort
unsigned integer types are now Stable.
But i found sometimes you still can get negative value as below code
for case 3 , we can see the result is not negative number but no exception was thrown.