Kotlin 1.5 — Unsigned Integer Types

Xuda Lu
May 15, 2021

--

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.

--

--

Xuda Lu
Xuda Lu

No responses yet