Short
, a 16-bit signed integer (equivalent to Java's short
primitive type) is a
subtype of scala.AnyVal. Instances of Short
are not
represented by an object in the underlying runtime system.
There is an implicit conversion from scala.Short => scala.runtime.RichShort which provides useful non-primitive operations.
- Companion:
- object
- Source:
- Short.scala
Value members
Abstract methods
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is not equal to x, false
otherwise.
Returns true
if this value is not equal to x, false
otherwise.
- Source:
- Short.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Double.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Double.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Double.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Double.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Double.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Double.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Double.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Float.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Float.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Float.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Float.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Float.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Float.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Float.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Long.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Long.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Long.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Long.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Long.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Long.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Long.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Short.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Short.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Short.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Short.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Short.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Short.scala
Returns the remainder of the division of this value by x
.
Returns the remainder of the division of this value by x
.
- Source:
- Short.scala
Returns the bitwise AND of this value and x
.
Returns the bitwise AND of this value and x
.
- Example:
(0xf0 & 0xaa) == 0xa0 // in binary: 11110000 // & 10101010 // -------- // 10100000
- Source:
- Long.scala
Returns the bitwise AND of this value and x
.
Returns the bitwise AND of this value and x
.
- Example:
(0xf0 & 0xaa) == 0xa0 // in binary: 11110000 // & 10101010 // -------- // 10100000
- Source:
- Long.scala
Returns the bitwise AND of this value and x
.
Returns the bitwise AND of this value and x
.
- Example:
(0xf0 & 0xaa) == 0xa0 // in binary: 11110000 // & 10101010 // -------- // 10100000
- Source:
- Long.scala
Returns the bitwise AND of this value and x
.
Returns the bitwise AND of this value and x
.
- Example:
(0xf0 & 0xaa) == 0xa0 // in binary: 11110000 // & 10101010 // -------- // 10100000
- Source:
- Long.scala
Returns the bitwise AND of this value and x
.
Returns the bitwise AND of this value and x
.
- Example:
(0xf0 & 0xaa) == 0xa0 // in binary: 11110000 // & 10101010 // -------- // 10100000
- Source:
- Long.scala
Returns the bitwise AND of this value and x
.
Returns the bitwise AND of this value and x
.
- Example:
(0xf0 & 0xaa) == 0xa0 // in binary: 11110000 // & 10101010 // -------- // 10100000
- Source:
- Short.scala
Returns the bitwise AND of this value and x
.
Returns the bitwise AND of this value and x
.
- Example:
(0xf0 & 0xaa) == 0xa0 // in binary: 11110000 // & 10101010 // -------- // 10100000
- Source:
- Short.scala
Returns the bitwise AND of this value and x
.
Returns the bitwise AND of this value and x
.
- Example:
(0xf0 & 0xaa) == 0xa0 // in binary: 11110000 // & 10101010 // -------- // 10100000
- Source:
- Short.scala
Returns the bitwise AND of this value and x
.
Returns the bitwise AND of this value and x
.
- Example:
(0xf0 & 0xaa) == 0xa0 // in binary: 11110000 // & 10101010 // -------- // 10100000
- Source:
- Short.scala
Returns the bitwise AND of this value and x
.
Returns the bitwise AND of this value and x
.
- Example:
(0xf0 & 0xaa) == 0xa0 // in binary: 11110000 // & 10101010 // -------- // 10100000
- Source:
- Short.scala
Returns the product of this value and x
.
Returns the product of this value and x
.
- Source:
- Double.scala
Returns the product of this value and x
.
Returns the product of this value and x
.
- Source:
- Double.scala
Returns the product of this value and x
.
Returns the product of this value and x
.
- Source:
- Double.scala
Returns the product of this value and x
.
Returns the product of this value and x
.
- Source:
- Double.scala
Returns the product of this value and x
.
Returns the product of this value and x
.
- Source:
- Double.scala
Returns the product of this value and x
.
Returns the product of this value and x
.
- Source:
- Double.scala
Returns the product of this value and x
.
Returns the product of this value and x
.
- Source:
- Double.scala
Returns the product of this value and x
.
Returns the product of this value and x
.
- Source:
- Float.scala
Returns the product of this value and x
.
Returns the product of this value and x
.
- Source:
- Float.scala
Returns the product of this value and x
.
Returns the product of this value and x
.
- Source:
- Float.scala
Returns the product of this value and x
.
Returns the product of this value and x
.
- Source:
- Float.scala
Returns the product of this value and x
.
Returns the product of this value and x
.
- Source:
- Float.scala
Returns the product of this value and x
.
Returns the product of this value and x
.
- Source:
- Float.scala
Returns the product of this value and x
.
Returns the product of this value and x
.
- Source:
- Float.scala
Returns the product of this value and x
.
Returns the product of this value and x
.
- Source:
- Long.scala
Returns the product of this value and x
.
Returns the product of this value and x
.
- Source:
- Long.scala
Returns the product of this value and x
.
Returns the product of this value and x
.
- Source:
- Long.scala
Returns the product of this value and x
.
Returns the product of this value and x
.
- Source:
- Long.scala
Returns the product of this value and x
.
Returns the product of this value and x
.
- Source:
- Long.scala
Returns the product of this value and x
.
Returns the product of this value and x
.
- Source:
- Long.scala
Returns the product of this value and x
.
Returns the product of this value and x
.
- Source:
- Long.scala
Returns the sum of this value and x
.
Returns the sum of this value and x
.
- Source:
- Double.scala
Returns the sum of this value and x
.
Returns the sum of this value and x
.
- Source:
- Double.scala
Returns the sum of this value and x
.
Returns the sum of this value and x
.
- Source:
- Double.scala
Returns the sum of this value and x
.
Returns the sum of this value and x
.
- Source:
- Double.scala
Returns the sum of this value and x
.
Returns the sum of this value and x
.
- Source:
- Double.scala
Returns the sum of this value and x
.
Returns the sum of this value and x
.
- Source:
- Double.scala
Returns the sum of this value and x
.
Returns the sum of this value and x
.
- Source:
- Double.scala
Returns the sum of this value and x
.
Returns the sum of this value and x
.
- Source:
- Float.scala
Returns the sum of this value and x
.
Returns the sum of this value and x
.
- Source:
- Float.scala
Returns the sum of this value and x
.
Returns the sum of this value and x
.
- Source:
- Float.scala
Returns the sum of this value and x
.
Returns the sum of this value and x
.
- Source:
- Float.scala
Returns the sum of this value and x
.
Returns the sum of this value and x
.
- Source:
- Float.scala
Returns the sum of this value and x
.
Returns the sum of this value and x
.
- Source:
- Float.scala
Returns the sum of this value and x
.
Returns the sum of this value and x
.
- Source:
- Float.scala
Returns the sum of this value and x
.
Returns the sum of this value and x
.
- Source:
- Long.scala
Returns the sum of this value and x
.
Returns the sum of this value and x
.
- Source:
- Long.scala
Returns the sum of this value and x
.
Returns the sum of this value and x
.
- Source:
- Long.scala
Returns the sum of this value and x
.
Returns the sum of this value and x
.
- Source:
- Long.scala
Returns the sum of this value and x
.
Returns the sum of this value and x
.
- Source:
- Long.scala
Returns the sum of this value and x
.
Returns the sum of this value and x
.
- Source:
- Long.scala
Returns the sum of this value and x
.
Returns the sum of this value and x
.
- Source:
- Long.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Double.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Double.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Double.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Double.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Double.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Double.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Double.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Float.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Float.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Float.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Float.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Float.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Float.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Float.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Long.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Long.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Long.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Long.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Long.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Long.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Long.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Short.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Short.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Short.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Short.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Short.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Short.scala
Returns the difference of this value and x
.
Returns the difference of this value and x
.
- Source:
- Short.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Double.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Double.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Double.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Double.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Double.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Double.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Double.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Float.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Float.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Float.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Float.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Float.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Float.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Float.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Long.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Long.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Long.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Long.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Long.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Long.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Long.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Short.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Short.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Short.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Short.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Short.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Short.scala
Returns the quotient of this value and x
.
Returns the quotient of this value and x
.
- Source:
- Short.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is less than x, false
otherwise.
Returns true
if this value is less than x, false
otherwise.
- Source:
- Short.scala
Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.
Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.
- Example:
6 << 3 == 48 // in binary: 0110 << 3 == 0110000
- Source:
- Int.scala
Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.
Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.
- Example:
6 << 3 == 48 // in binary: 0110 << 3 == 0110000
- Source:
- Long.scala
Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.
Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.
- Example:
6 << 3 == 48 // in binary: 0110 << 3 == 0110000
- Source:
- Long.scala
Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.
Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.
- Example:
6 << 3 == 48 // in binary: 0110 << 3 == 0110000
- Source:
- Short.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is less than or equal to x, false
otherwise.
Returns true
if this value is less than or equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is equal to x, false
otherwise.
Returns true
if this value is equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is greater than x, false
otherwise.
Returns true
if this value is greater than x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Double.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Float.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Long.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Short.scala
Returns true
if this value is greater than or equal to x, false
otherwise.
Returns true
if this value is greater than or equal to x, false
otherwise.
- Source:
- Short.scala
Returns this value bit-shifted right by the specified number of bits, filling in the left bits with the same value as the left-most bit of this.
Returns this value bit-shifted right by the specified number of bits, filling in the left bits with the same value as the left-most bit of this. The effect of this is to retain the sign of the value.
- Example:
-21 >> 3 == -3 // in binary: 11111111 11111111 11111111 11101011 >> 3 == // 11111111 11111111 11111111 11111101
- Source:
- Int.scala
Returns this value bit-shifted right by the specified number of bits, filling in the left bits with the same value as the left-most bit of this.
Returns this value bit-shifted right by the specified number of bits, filling in the left bits with the same value as the left-most bit of this. The effect of this is to retain the sign of the value.
- Example:
-21 >> 3 == -3 // in binary: 11111111 11111111 11111111 11101011 >> 3 == // 11111111 11111111 11111111 11111101
- Source:
- Long.scala
Returns this value bit-shifted right by the specified number of bits, filling in the left bits with the same value as the left-most bit of this.
Returns this value bit-shifted right by the specified number of bits, filling in the left bits with the same value as the left-most bit of this. The effect of this is to retain the sign of the value.
- Example:
-21 >> 3 == -3 // in binary: 11111111 11111111 11111111 11101011 >> 3 == // 11111111 11111111 11111111 11111101
- Source:
- Long.scala
Returns this value bit-shifted right by the specified number of bits, filling in the left bits with the same value as the left-most bit of this.
Returns this value bit-shifted right by the specified number of bits, filling in the left bits with the same value as the left-most bit of this. The effect of this is to retain the sign of the value.
- Example:
-21 >> 3 == -3 // in binary: 11111111 11111111 11111111 11101011 >> 3 == // 11111111 11111111 11111111 11111101
- Source:
- Short.scala
Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.
Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.
- Example:
21 >>> 3 == 2 // in binary: 010101 >>> 3 == 010
-21 >>> 3 == 536870909 // in binary: 11111111 11111111 11111111 11101011 >>> 3 == // 00011111 11111111 11111111 11111101
- Source:
- Int.scala
Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.
Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.
- Example:
21 >>> 3 == 2 // in binary: 010101 >>> 3 == 010
-21 >>> 3 == 536870909 // in binary: 11111111 11111111 11111111 11101011 >>> 3 == // 00011111 11111111 11111111 11111101
- Source:
- Long.scala
Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.
Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.
- Example:
21 >>> 3 == 2 // in binary: 010101 >>> 3 == 010
-21 >>> 3 == 536870909 // in binary: 11111111 11111111 11111111 11101011 >>> 3 == // 00011111 11111111 11111111 11111101
- Source:
- Long.scala
Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.
Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.
- Example:
21 >>> 3 == 2 // in binary: 010101 >>> 3 == 010
-21 >>> 3 == 536870909 // in binary: 11111111 11111111 11111111 11101011 >>> 3 == // 00011111 11111111 11111111 11111101
- Source:
- Short.scala
Returns the bitwise XOR of this value and x
.
Returns the bitwise XOR of this value and x
.
- Example:
(0xf0 ^ 0xaa) == 0x5a // in binary: 11110000 // ^ 10101010 // -------- // 01011010
- Source:
- Long.scala
Returns the bitwise XOR of this value and x
.
Returns the bitwise XOR of this value and x
.
- Example:
(0xf0 ^ 0xaa) == 0x5a // in binary: 11110000 // ^ 10101010 // -------- // 01011010
- Source:
- Long.scala
Returns the bitwise XOR of this value and x
.
Returns the bitwise XOR of this value and x
.
- Example:
(0xf0 ^ 0xaa) == 0x5a // in binary: 11110000 // ^ 10101010 // -------- // 01011010
- Source:
- Long.scala
Returns the bitwise XOR of this value and x
.
Returns the bitwise XOR of this value and x
.
- Example:
(0xf0 ^ 0xaa) == 0x5a // in binary: 11110000 // ^ 10101010 // -------- // 01011010
- Source:
- Long.scala
Returns the bitwise XOR of this value and x
.
Returns the bitwise XOR of this value and x
.
- Example:
(0xf0 ^ 0xaa) == 0x5a // in binary: 11110000 // ^ 10101010 // -------- // 01011010
- Source:
- Long.scala
Returns the bitwise XOR of this value and x
.
Returns the bitwise XOR of this value and x
.
- Example:
(0xf0 ^ 0xaa) == 0x5a // in binary: 11110000 // ^ 10101010 // -------- // 01011010
- Source:
- Short.scala
Returns the bitwise XOR of this value and x
.
Returns the bitwise XOR of this value and x
.
- Example:
(0xf0 ^ 0xaa) == 0x5a // in binary: 11110000 // ^ 10101010 // -------- // 01011010
- Source:
- Short.scala
Returns the bitwise XOR of this value and x
.
Returns the bitwise XOR of this value and x
.
- Example:
(0xf0 ^ 0xaa) == 0x5a // in binary: 11110000 // ^ 10101010 // -------- // 01011010
- Source:
- Short.scala
Returns the bitwise XOR of this value and x
.
Returns the bitwise XOR of this value and x
.
- Example:
(0xf0 ^ 0xaa) == 0x5a // in binary: 11110000 // ^ 10101010 // -------- // 01011010
- Source:
- Short.scala
Returns the bitwise XOR of this value and x
.
Returns the bitwise XOR of this value and x
.
- Example:
(0xf0 ^ 0xaa) == 0x5a // in binary: 11110000 // ^ 10101010 // -------- // 01011010
- Source:
- Short.scala
Returns this value, unmodified.
Returns this value, unmodified.
- Source:
- Double.scala
Returns this value, unmodified.
Returns this value, unmodified.
- Source:
- Float.scala
Returns this value, unmodified.
Returns this value, unmodified.
- Source:
- Long.scala
Returns the negation of this value.
Returns the negation of this value.
- Source:
- Double.scala
Returns the negation of this value.
Returns the negation of this value.
- Source:
- Float.scala
Returns the negation of this value.
Returns the negation of this value.
- Source:
- Long.scala
Returns the bitwise negation of this value.
Returns the bitwise negation of this value.
- Example:
~5 == -6 // in binary: ~00000101 == // 11111010
- Source:
- Long.scala
Returns the bitwise negation of this value.
Returns the bitwise negation of this value.
- Example:
~5 == -6 // in binary: ~00000101 == // 11111010
- Source:
- Short.scala
Returns the bitwise OR of this value and x
.
Returns the bitwise OR of this value and x
.
- Example:
(0xf0 | 0xaa) == 0xfa // in binary: 11110000 // | 10101010 // -------- // 11111010
- Source:
- Long.scala
Returns the bitwise OR of this value and x
.
Returns the bitwise OR of this value and x
.
- Example:
(0xf0 | 0xaa) == 0xfa // in binary: 11110000 // | 10101010 // -------- // 11111010
- Source:
- Long.scala
Returns the bitwise OR of this value and x
.
Returns the bitwise OR of this value and x
.
- Example:
(0xf0 | 0xaa) == 0xfa // in binary: 11110000 // | 10101010 // -------- // 11111010
- Source:
- Long.scala
Returns the bitwise OR of this value and x
.
Returns the bitwise OR of this value and x
.
- Example:
(0xf0 | 0xaa) == 0xfa // in binary: 11110000 // | 10101010 // -------- // 11111010
- Source:
- Long.scala
Returns the bitwise OR of this value and x
.
Returns the bitwise OR of this value and x
.
- Example:
(0xf0 | 0xaa) == 0xfa // in binary: 11110000 // | 10101010 // -------- // 11111010
- Source:
- Long.scala
Returns the bitwise OR of this value and x
.
Returns the bitwise OR of this value and x
.
- Example:
(0xf0 | 0xaa) == 0xfa // in binary: 11110000 // | 10101010 // -------- // 11111010
- Source:
- Short.scala
Returns the bitwise OR of this value and x
.
Returns the bitwise OR of this value and x
.
- Example:
(0xf0 | 0xaa) == 0xfa // in binary: 11110000 // | 10101010 // -------- // 11111010
- Source:
- Short.scala
Returns the bitwise OR of this value and x
.
Returns the bitwise OR of this value and x
.
- Example:
(0xf0 | 0xaa) == 0xfa // in binary: 11110000 // | 10101010 // -------- // 11111010
- Source:
- Short.scala
Returns the bitwise OR of this value and x
.
Returns the bitwise OR of this value and x
.
- Example:
(0xf0 | 0xaa) == 0xfa // in binary: 11110000 // | 10101010 // -------- // 11111010
- Source:
- Short.scala
Returns the bitwise OR of this value and x
.
Returns the bitwise OR of this value and x
.
- Example:
(0xf0 | 0xaa) == 0xfa // in binary: 11110000 // | 10101010 // -------- // 11111010
- Source:
- Short.scala
Deprecated methods
Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.
Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.
- Example:
6 << 3 == 48 // in binary: 0110 << 3 == 0110000
- Deprecated
- Source:
- Int.scala
Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.
Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.
- Example:
6 << 3 == 48 // in binary: 0110 << 3 == 0110000
- Deprecated
- Source:
- Short.scala
Returns this value bit-shifted right by the specified number of bits, filling in the left bits with the same value as the left-most bit of this.
Returns this value bit-shifted right by the specified number of bits, filling in the left bits with the same value as the left-most bit of this. The effect of this is to retain the sign of the value.
- Example:
-21 >> 3 == -3 // in binary: 11111111 11111111 11111111 11101011 >> 3 == // 11111111 11111111 11111111 11111101
- Deprecated
- Source:
- Int.scala
Returns this value bit-shifted right by the specified number of bits, filling in the left bits with the same value as the left-most bit of this.
Returns this value bit-shifted right by the specified number of bits, filling in the left bits with the same value as the left-most bit of this. The effect of this is to retain the sign of the value.
- Example:
-21 >> 3 == -3 // in binary: 11111111 11111111 11111111 11101011 >> 3 == // 11111111 11111111 11111111 11111101
- Deprecated
- Source:
- Short.scala
Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.
Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.
- Example:
21 >>> 3 == 2 // in binary: 010101 >>> 3 == 010
-21 >>> 3 == 536870909 // in binary: 11111111 11111111 11111111 11101011 >>> 3 == // 00011111 11111111 11111111 11111101
- Deprecated
- Source:
- Int.scala
Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.
Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.
- Example:
21 >>> 3 == 2 // in binary: 010101 >>> 3 == 010
-21 >>> 3 == 536870909 // in binary: 11111111 11111111 11111111 11101011 >>> 3 == // 00011111 11111111 11111111 11111101
- Deprecated
- Source:
- Short.scala