Replace mistaken "bit sign" with "sign bit"

This commit is contained in:
Abduqodiri Qurbonzoda
2019-03-21 21:43:06 +03:00
parent f36a8db8eb
commit 960797b926
2 changed files with 7 additions and 7 deletions
+6 -6
View File
@@ -203,7 +203,7 @@ public class Byte private constructor() : Number(), Comparable<Byte> {
* The resulting `Short` value represents the same numerical value as this `Byte`.
*
* The least significant 8 bits of the resulting `Short` value are the same as the binary representation of this `Byte` value,
* whereas the most significant 8 bits are filled with the bit sign of this value.
* whereas the most significant 8 bits are filled with the sign bit of this value.
*/
public override fun toShort(): Short
/**
@@ -212,7 +212,7 @@ public class Byte private constructor() : Number(), Comparable<Byte> {
* The resulting `Int` value represents the same numerical value as this `Byte`.
*
* The least significant 8 bits of the resulting `Int` value are the same as the binary representation of this `Byte` value,
* whereas the most significant 24 bits are filled with the bit sign of this value.
* whereas the most significant 24 bits are filled with the sign bit of this value.
*/
public override fun toInt(): Int
/**
@@ -221,7 +221,7 @@ public class Byte private constructor() : Number(), Comparable<Byte> {
* The resulting `Long` value represents the same numerical value as this `Byte`.
*
* The least significant 8 bits of the resulting `Long` value are the same as the binary representation of this `Byte` value,
* whereas the most significant 56 bits are filled with the bit sign of this value.
* whereas the most significant 56 bits are filled with the sign bit of this value.
*/
public override fun toLong(): Long
/**
@@ -441,7 +441,7 @@ public class Short private constructor() : Number(), Comparable<Short> {
* The resulting `Int` value represents the same numerical value as this `Short`.
*
* The least significant 16 bits of the resulting `Int` value are the same as the binary representation of this `Short` value,
* whereas the most significant 16 bits are filled with the bit sign of this value.
* whereas the most significant 16 bits are filled with the sign bit of this value.
*/
public override fun toInt(): Int
/**
@@ -450,7 +450,7 @@ public class Short private constructor() : Number(), Comparable<Short> {
* The resulting `Long` value represents the same numerical value as this `Short`.
*
* The least significant 16 bits of the resulting `Long` value are the same as the binary representation of this `Short` value,
* whereas the most significant 48 bits are filled with the bit sign of this value.
* whereas the most significant 48 bits are filled with the sign bit of this value.
*/
public override fun toLong(): Long
/**
@@ -696,7 +696,7 @@ public class Int private constructor() : Number(), Comparable<Int> {
* The resulting `Long` value represents the same numerical value as this `Int`.
*
* The least significant 32 bits of the resulting `Long` value are the same as the binary representation of this `Int` value,
* whereas the most significant 32 bits are filled with the bit sign of this value.
* whereas the most significant 32 bits are filled with the sign bit of this value.
*/
public override fun toLong(): Long
/**
+1 -1
View File
@@ -315,7 +315,7 @@ class GeneratePrimitives(out: PrintWriter) : BuiltInsSourceGenerator(out) {
* The resulting `$otherName` value represents the same numerical value as this `$thisName`.
*
* The least significant ${fromIntegral.bitSize} bits of the resulting `$otherName` value are the same as the binary representation of this `$thisName` value,
* whereas the most significant ${toIntegral.bitSize - fromIntegral.bitSize} bits are filled with the bit sign of this value.
* whereas the most significant ${toIntegral.bitSize - fromIntegral.bitSize} bits are filled with the sign bit of this value.
*/
"""
}