Replace "binary representation of" with "bits of"
This commit is contained in:
@@ -173,7 +173,7 @@ public inline class UByte @PublishedApi internal constructor(@PublishedApi inter
|
||||
*
|
||||
* The resulting `Short` value represents the same numerical value as this `UByte`.
|
||||
*
|
||||
* The least significant 8 bits of the resulting `Short` value are the same as the binary representation of this `UByte` value,
|
||||
* The least significant 8 bits of the resulting `Short` value are the same as the bits of this `UByte` value,
|
||||
* whereas the most significant 8 bits are filled with zeros.
|
||||
*/
|
||||
@kotlin.internal.InlineOnly
|
||||
@@ -183,7 +183,7 @@ public inline class UByte @PublishedApi internal constructor(@PublishedApi inter
|
||||
*
|
||||
* The resulting `Int` value represents the same numerical value as this `UByte`.
|
||||
*
|
||||
* The least significant 8 bits of the resulting `Int` value are the same as the binary representation of this `UByte` value,
|
||||
* The least significant 8 bits of the resulting `Int` value are the same as the bits of this `UByte` value,
|
||||
* whereas the most significant 24 bits are filled with zeros.
|
||||
*/
|
||||
@kotlin.internal.InlineOnly
|
||||
@@ -193,7 +193,7 @@ public inline class UByte @PublishedApi internal constructor(@PublishedApi inter
|
||||
*
|
||||
* The resulting `Long` value represents the same numerical value as this `UByte`.
|
||||
*
|
||||
* The least significant 8 bits of the resulting `Long` value are the same as the binary representation of this `UByte` value,
|
||||
* The least significant 8 bits of the resulting `Long` value are the same as the bits of this `UByte` value,
|
||||
* whereas the most significant 56 bits are filled with zeros.
|
||||
*/
|
||||
@kotlin.internal.InlineOnly
|
||||
@@ -207,7 +207,7 @@ public inline class UByte @PublishedApi internal constructor(@PublishedApi inter
|
||||
*
|
||||
* The resulting `UShort` value represents the same numerical value as this `UByte`.
|
||||
*
|
||||
* The least significant 8 bits of the resulting `UShort` value are the same as the binary representation of this `UByte` value,
|
||||
* The least significant 8 bits of the resulting `UShort` value are the same as the bits of this `UByte` value,
|
||||
* whereas the most significant 8 bits are filled with zeros.
|
||||
*/
|
||||
@kotlin.internal.InlineOnly
|
||||
@@ -217,7 +217,7 @@ public inline class UByte @PublishedApi internal constructor(@PublishedApi inter
|
||||
*
|
||||
* The resulting `UInt` value represents the same numerical value as this `UByte`.
|
||||
*
|
||||
* The least significant 8 bits of the resulting `UInt` value are the same as the binary representation of this `UByte` value,
|
||||
* The least significant 8 bits of the resulting `UInt` value are the same as the bits of this `UByte` value,
|
||||
* whereas the most significant 24 bits are filled with zeros.
|
||||
*/
|
||||
@kotlin.internal.InlineOnly
|
||||
@@ -227,7 +227,7 @@ public inline class UByte @PublishedApi internal constructor(@PublishedApi inter
|
||||
*
|
||||
* The resulting `ULong` value represents the same numerical value as this `UByte`.
|
||||
*
|
||||
* The least significant 8 bits of the resulting `ULong` value are the same as the binary representation of this `UByte` value,
|
||||
* The least significant 8 bits of the resulting `ULong` value are the same as the bits of this `UByte` value,
|
||||
* whereas the most significant 56 bits are filled with zeros.
|
||||
*/
|
||||
@kotlin.internal.InlineOnly
|
||||
|
||||
@@ -201,7 +201,7 @@ public inline class UInt @PublishedApi internal constructor(@PublishedApi intern
|
||||
*
|
||||
* The resulting `Long` value represents the same numerical value as this `UInt`.
|
||||
*
|
||||
* The least significant 32 bits of the resulting `Long` value are the same as the binary representation of this `UInt` value,
|
||||
* The least significant 32 bits of the resulting `Long` value are the same as the bits of this `UInt` value,
|
||||
* whereas the most significant 32 bits are filled with zeros.
|
||||
*/
|
||||
@kotlin.internal.InlineOnly
|
||||
@@ -235,7 +235,7 @@ public inline class UInt @PublishedApi internal constructor(@PublishedApi intern
|
||||
*
|
||||
* The resulting `ULong` value represents the same numerical value as this `UInt`.
|
||||
*
|
||||
* The least significant 32 bits of the resulting `ULong` value are the same as the binary representation of this `UInt` value,
|
||||
* The least significant 32 bits of the resulting `ULong` value are the same as the bits of this `UInt` value,
|
||||
* whereas the most significant 32 bits are filled with zeros.
|
||||
*/
|
||||
@kotlin.internal.InlineOnly
|
||||
@@ -267,7 +267,7 @@ public inline class UInt @PublishedApi internal constructor(@PublishedApi intern
|
||||
*
|
||||
* If this value is positive, the resulting `UInt` value represents the same numerical value as this `Byte`.
|
||||
*
|
||||
* The least significant 8 bits of the resulting `UInt` value are the same as the binary representation of this `Byte` value,
|
||||
* The least significant 8 bits of the resulting `UInt` value are the same as the bits of this `Byte` value,
|
||||
* whereas the most significant 24 bits are filled with the sign bit of this value.
|
||||
*/
|
||||
@SinceKotlin("1.3")
|
||||
@@ -279,7 +279,7 @@ public inline fun Byte.toUInt(): UInt = UInt(this.toInt())
|
||||
*
|
||||
* If this value is positive, the resulting `UInt` value represents the same numerical value as this `Short`.
|
||||
*
|
||||
* The least significant 16 bits of the resulting `UInt` value are the same as the binary representation of this `Short` value,
|
||||
* The least significant 16 bits of the resulting `UInt` value are the same as the bits of this `Short` value,
|
||||
* whereas the most significant 16 bits are filled with the sign bit of this value.
|
||||
*/
|
||||
@SinceKotlin("1.3")
|
||||
|
||||
@@ -270,7 +270,7 @@ public inline class ULong @PublishedApi internal constructor(@PublishedApi inter
|
||||
*
|
||||
* If this value is positive, the resulting `ULong` value represents the same numerical value as this `Byte`.
|
||||
*
|
||||
* The least significant 8 bits of the resulting `ULong` value are the same as the binary representation of this `Byte` value,
|
||||
* The least significant 8 bits of the resulting `ULong` value are the same as the bits of this `Byte` value,
|
||||
* whereas the most significant 56 bits are filled with the sign bit of this value.
|
||||
*/
|
||||
@SinceKotlin("1.3")
|
||||
@@ -282,7 +282,7 @@ public inline fun Byte.toULong(): ULong = ULong(this.toLong())
|
||||
*
|
||||
* If this value is positive, the resulting `ULong` value represents the same numerical value as this `Short`.
|
||||
*
|
||||
* The least significant 16 bits of the resulting `ULong` value are the same as the binary representation of this `Short` value,
|
||||
* The least significant 16 bits of the resulting `ULong` value are the same as the bits of this `Short` value,
|
||||
* whereas the most significant 48 bits are filled with the sign bit of this value.
|
||||
*/
|
||||
@SinceKotlin("1.3")
|
||||
@@ -294,7 +294,7 @@ public inline fun Short.toULong(): ULong = ULong(this.toLong())
|
||||
*
|
||||
* If this value is positive, the resulting `ULong` value represents the same numerical value as this `Int`.
|
||||
*
|
||||
* The least significant 32 bits of the resulting `ULong` value are the same as the binary representation of this `Int` value,
|
||||
* The least significant 32 bits of the resulting `ULong` value are the same as the bits of this `Int` value,
|
||||
* whereas the most significant 32 bits are filled with the sign bit of this value.
|
||||
*/
|
||||
@SinceKotlin("1.3")
|
||||
|
||||
@@ -184,7 +184,7 @@ public inline class UShort @PublishedApi internal constructor(@PublishedApi inte
|
||||
*
|
||||
* The resulting `Int` value represents the same numerical value as this `UShort`.
|
||||
*
|
||||
* The least significant 16 bits of the resulting `Int` value are the same as the binary representation of this `UShort` value,
|
||||
* The least significant 16 bits of the resulting `Int` value are the same as the bits of this `UShort` value,
|
||||
* whereas the most significant 16 bits are filled with zeros.
|
||||
*/
|
||||
@kotlin.internal.InlineOnly
|
||||
@@ -194,7 +194,7 @@ public inline class UShort @PublishedApi internal constructor(@PublishedApi inte
|
||||
*
|
||||
* The resulting `Long` value represents the same numerical value as this `UShort`.
|
||||
*
|
||||
* The least significant 16 bits of the resulting `Long` value are the same as the binary representation of this `UShort` value,
|
||||
* The least significant 16 bits of the resulting `Long` value are the same as the bits of this `UShort` value,
|
||||
* whereas the most significant 48 bits are filled with zeros.
|
||||
*/
|
||||
@kotlin.internal.InlineOnly
|
||||
@@ -218,7 +218,7 @@ public inline class UShort @PublishedApi internal constructor(@PublishedApi inte
|
||||
*
|
||||
* The resulting `UInt` value represents the same numerical value as this `UShort`.
|
||||
*
|
||||
* The least significant 16 bits of the resulting `UInt` value are the same as the binary representation of this `UShort` value,
|
||||
* The least significant 16 bits of the resulting `UInt` value are the same as the bits of this `UShort` value,
|
||||
* whereas the most significant 16 bits are filled with zeros.
|
||||
*/
|
||||
@kotlin.internal.InlineOnly
|
||||
@@ -228,7 +228,7 @@ public inline class UShort @PublishedApi internal constructor(@PublishedApi inte
|
||||
*
|
||||
* The resulting `ULong` value represents the same numerical value as this `UShort`.
|
||||
*
|
||||
* The least significant 16 bits of the resulting `ULong` value are the same as the binary representation of this `UShort` value,
|
||||
* The least significant 16 bits of the resulting `ULong` value are the same as the bits of this `UShort` value,
|
||||
* whereas the most significant 48 bits are filled with zeros.
|
||||
*/
|
||||
@kotlin.internal.InlineOnly
|
||||
@@ -258,7 +258,7 @@ public inline class UShort @PublishedApi internal constructor(@PublishedApi inte
|
||||
*
|
||||
* If this value is positive, the resulting `UShort` value represents the same numerical value as this `Byte`.
|
||||
*
|
||||
* The least significant 8 bits of the resulting `UShort` value are the same as the binary representation of this `Byte` value,
|
||||
* The least significant 8 bits of the resulting `UShort` value are the same as the bits of this `Byte` value,
|
||||
* whereas the most significant 8 bits are filled with the sign bit of this value.
|
||||
*/
|
||||
@SinceKotlin("1.3")
|
||||
|
||||
Reference in New Issue
Block a user