Long

final abstract
class Long extends AnyVal

Long, a 64-bit signed integer (equivalent to Java's long primitive type) is a subtype of scala.AnyVal. Instances of Long are not represented by an object in the underlying runtime system.

There is an implicit conversion from scala.Long => scala.runtime.RichLong which provides useful non-primitive operations.

Companion
object
Source
Long.scala
class AnyVal
trait Matchable
class Any

Value members

Abstract methods

def !=(x: Byte): Boolean
Implicitly added by long2double

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
def !=(x: Short): Boolean
Implicitly added by long2double

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
def !=(x: Char): Boolean
Implicitly added by long2double

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
def !=(x: Int): Boolean
Implicitly added by long2double

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
def !=(x: Long): Boolean
Implicitly added by long2double

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
def !=(x: Float): Boolean
Implicitly added by long2double

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
def !=(x: Double): Boolean
Implicitly added by long2double

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
def !=(x: Byte): Boolean
Implicitly added by long2float

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
def !=(x: Short): Boolean
Implicitly added by long2float

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
def !=(x: Char): Boolean
Implicitly added by long2float

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
def !=(x: Int): Boolean
Implicitly added by long2float

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
def !=(x: Long): Boolean
Implicitly added by long2float

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
def !=(x: Float): Boolean
Implicitly added by long2float

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
def !=(x: Double): Boolean
Implicitly added by long2float

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
def !=(x: Byte): Boolean

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
def !=(x: Short): Boolean

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
def !=(x: Char): Boolean

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
def !=(x: Int): Boolean

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
def !=(x: Long): Boolean

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
def !=(x: Float): Boolean

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
def !=(x: Double): Boolean

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
def %(x: Byte): Double
Implicitly added by long2double

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
def %(x: Short): Double
Implicitly added by long2double

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
def %(x: Char): Double
Implicitly added by long2double

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
def %(x: Int): Double
Implicitly added by long2double

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
def %(x: Long): Double
Implicitly added by long2double

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
def %(x: Float): Double
Implicitly added by long2double

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
def %(x: Double): Double
Implicitly added by long2double

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
def %(x: Byte): Float
Implicitly added by long2float

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
def %(x: Short): Float
Implicitly added by long2float

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
def %(x: Char): Float
Implicitly added by long2float

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
def %(x: Int): Float
Implicitly added by long2float

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
def %(x: Long): Float
Implicitly added by long2float

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
def %(x: Float): Float
Implicitly added by long2float

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
def %(x: Double): Double
Implicitly added by long2float

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
def %(x: Byte): Long

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
def %(x: Short): Long

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
def %(x: Char): Long

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
def %(x: Int): Long

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
def %(x: Long): Long

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
def %(x: Float): Float

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
def %(x: Double): Double

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
def &(x: Byte): Long

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
def &(x: Short): Long

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
def &(x: Char): Long

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
def &(x: Int): Long

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
def &(x: Long): Long

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
def *(x: Byte): Double
Implicitly added by long2double

Returns the product of this value and x.

Returns the product of this value and x.

Source
Double.scala
def *(x: Short): Double
Implicitly added by long2double

Returns the product of this value and x.

Returns the product of this value and x.

Source
Double.scala
def *(x: Char): Double
Implicitly added by long2double

Returns the product of this value and x.

Returns the product of this value and x.

Source
Double.scala
def *(x: Int): Double
Implicitly added by long2double

Returns the product of this value and x.

Returns the product of this value and x.

Source
Double.scala
def *(x: Long): Double
Implicitly added by long2double

Returns the product of this value and x.

Returns the product of this value and x.

Source
Double.scala
def *(x: Float): Double
Implicitly added by long2double

Returns the product of this value and x.

Returns the product of this value and x.

Source
Double.scala
def *(x: Double): Double
Implicitly added by long2double

Returns the product of this value and x.

Returns the product of this value and x.

Source
Double.scala
def *(x: Byte): Float
Implicitly added by long2float

Returns the product of this value and x.

Returns the product of this value and x.

Source
Float.scala
def *(x: Short): Float
Implicitly added by long2float

Returns the product of this value and x.

Returns the product of this value and x.

Source
Float.scala
def *(x: Char): Float
Implicitly added by long2float

Returns the product of this value and x.

Returns the product of this value and x.

Source
Float.scala
def *(x: Int): Float
Implicitly added by long2float

Returns the product of this value and x.

Returns the product of this value and x.

Source
Float.scala
def *(x: Long): Float
Implicitly added by long2float

Returns the product of this value and x.

Returns the product of this value and x.

Source
Float.scala
def *(x: Float): Float
Implicitly added by long2float

Returns the product of this value and x.

Returns the product of this value and x.

Source
Float.scala
def *(x: Double): Double
Implicitly added by long2float

Returns the product of this value and x.

Returns the product of this value and x.

Source
Float.scala
def *(x: Byte): Long

Returns the product of this value and x.

Returns the product of this value and x.

Source
Long.scala
def *(x: Short): Long

Returns the product of this value and x.

Returns the product of this value and x.

Source
Long.scala
def *(x: Char): Long

Returns the product of this value and x.

Returns the product of this value and x.

Source
Long.scala
def *(x: Int): Long

Returns the product of this value and x.

Returns the product of this value and x.

Source
Long.scala
def *(x: Long): Long

Returns the product of this value and x.

Returns the product of this value and x.

Source
Long.scala
def *(x: Float): Float

Returns the product of this value and x.

Returns the product of this value and x.

Source
Long.scala
def *(x: Double): Double

Returns the product of this value and x.

Returns the product of this value and x.

Source
Long.scala
def +(x: Byte): Double
Implicitly added by long2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Double.scala
def +(x: Short): Double
Implicitly added by long2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Double.scala
def +(x: Char): Double
Implicitly added by long2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Double.scala
def +(x: Int): Double
Implicitly added by long2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Double.scala
def +(x: Long): Double
Implicitly added by long2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Double.scala
def +(x: Float): Double
Implicitly added by long2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Double.scala
def +(x: Double): Double
Implicitly added by long2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Double.scala
def +(x: Byte): Float
Implicitly added by long2float

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Float.scala
def +(x: Short): Float
Implicitly added by long2float

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Float.scala
def +(x: Char): Float
Implicitly added by long2float

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Float.scala
def +(x: Int): Float
Implicitly added by long2float

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Float.scala
def +(x: Long): Float
Implicitly added by long2float

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Float.scala
def +(x: Float): Float
Implicitly added by long2float

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Float.scala
def +(x: Double): Double
Implicitly added by long2float

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Float.scala
def +(x: Byte): Long

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Long.scala
def +(x: Short): Long

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Long.scala
def +(x: Char): Long

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Long.scala
def +(x: Int): Long

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Long.scala
def +(x: Long): Long

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Long.scala
def +(x: Float): Float

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Long.scala
def +(x: Double): Double

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Long.scala
def -(x: Byte): Double
Implicitly added by long2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Double.scala
def -(x: Short): Double
Implicitly added by long2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Double.scala
def -(x: Char): Double
Implicitly added by long2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Double.scala
def -(x: Int): Double
Implicitly added by long2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Double.scala
def -(x: Long): Double
Implicitly added by long2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Double.scala
def -(x: Float): Double
Implicitly added by long2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Double.scala
def -(x: Double): Double
Implicitly added by long2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Double.scala
def -(x: Byte): Float
Implicitly added by long2float

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Float.scala
def -(x: Short): Float
Implicitly added by long2float

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Float.scala
def -(x: Char): Float
Implicitly added by long2float

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Float.scala
def -(x: Int): Float
Implicitly added by long2float

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Float.scala
def -(x: Long): Float
Implicitly added by long2float

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Float.scala
def -(x: Float): Float
Implicitly added by long2float

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Float.scala
def -(x: Double): Double
Implicitly added by long2float

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Float.scala
def -(x: Byte): Long

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Long.scala
def -(x: Short): Long

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Long.scala
def -(x: Char): Long

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Long.scala
def -(x: Int): Long

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Long.scala
def -(x: Long): Long

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Long.scala
def -(x: Float): Float

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Long.scala
def -(x: Double): Double

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Long.scala
def /(x: Byte): Double
Implicitly added by long2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Double.scala
def /(x: Short): Double
Implicitly added by long2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Double.scala
def /(x: Char): Double
Implicitly added by long2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Double.scala
def /(x: Int): Double
Implicitly added by long2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Double.scala
def /(x: Long): Double
Implicitly added by long2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Double.scala
def /(x: Float): Double
Implicitly added by long2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Double.scala
def /(x: Double): Double
Implicitly added by long2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Double.scala
def /(x: Byte): Float
Implicitly added by long2float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Float.scala
def /(x: Short): Float
Implicitly added by long2float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Float.scala
def /(x: Char): Float
Implicitly added by long2float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Float.scala
def /(x: Int): Float
Implicitly added by long2float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Float.scala
def /(x: Long): Float
Implicitly added by long2float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Float.scala
def /(x: Float): Float
Implicitly added by long2float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Float.scala
def /(x: Double): Double
Implicitly added by long2float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Float.scala
def /(x: Byte): Long

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Long.scala
def /(x: Short): Long

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Long.scala
def /(x: Char): Long

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Long.scala
def /(x: Int): Long

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Long.scala
def /(x: Long): Long

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Long.scala
def /(x: Float): Float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Long.scala
def /(x: Double): Double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Long.scala
def <(x: Byte): Boolean
Implicitly added by long2double

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
def <(x: Short): Boolean
Implicitly added by long2double

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
def <(x: Char): Boolean
Implicitly added by long2double

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
def <(x: Int): Boolean
Implicitly added by long2double

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
def <(x: Long): Boolean
Implicitly added by long2double

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
def <(x: Float): Boolean
Implicitly added by long2double

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
def <(x: Double): Boolean
Implicitly added by long2double

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
def <(x: Byte): Boolean
Implicitly added by long2float

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
def <(x: Short): Boolean
Implicitly added by long2float

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
def <(x: Char): Boolean
Implicitly added by long2float

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
def <(x: Int): Boolean
Implicitly added by long2float

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
def <(x: Long): Boolean
Implicitly added by long2float

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
def <(x: Float): Boolean
Implicitly added by long2float

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
def <(x: Double): Boolean
Implicitly added by long2float

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
def <(x: Byte): Boolean

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
def <(x: Short): Boolean

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
def <(x: Char): Boolean

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
def <(x: Int): Boolean

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
def <(x: Long): Boolean

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
def <(x: Float): Boolean

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
def <(x: Double): Boolean

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
def <<(x: Int): Long

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
def <<(x: Long): Long

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
def <=(x: Byte): Boolean
Implicitly added by long2double

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
def <=(x: Short): Boolean
Implicitly added by long2double

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
def <=(x: Char): Boolean
Implicitly added by long2double

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
def <=(x: Int): Boolean
Implicitly added by long2double

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
def <=(x: Long): Boolean
Implicitly added by long2double

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
def <=(x: Float): Boolean
Implicitly added by long2double

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
def <=(x: Double): Boolean
Implicitly added by long2double

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
def <=(x: Byte): Boolean
Implicitly added by long2float

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
def <=(x: Short): Boolean
Implicitly added by long2float

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
def <=(x: Char): Boolean
Implicitly added by long2float

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
def <=(x: Int): Boolean
Implicitly added by long2float

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
def <=(x: Long): Boolean
Implicitly added by long2float

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
def <=(x: Float): Boolean
Implicitly added by long2float

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
def <=(x: Double): Boolean
Implicitly added by long2float

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
def <=(x: Byte): Boolean

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
def <=(x: Short): Boolean

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
def <=(x: Char): Boolean

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
def <=(x: Int): Boolean

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
def <=(x: Long): Boolean

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
def <=(x: Float): Boolean

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
def <=(x: Double): Boolean

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
def ==(x: Byte): Boolean
Implicitly added by long2double

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
def ==(x: Short): Boolean
Implicitly added by long2double

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
def ==(x: Char): Boolean
Implicitly added by long2double

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
def ==(x: Int): Boolean
Implicitly added by long2double

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
def ==(x: Long): Boolean
Implicitly added by long2double

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
def ==(x: Float): Boolean
Implicitly added by long2double

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
def ==(x: Double): Boolean
Implicitly added by long2double

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
def ==(x: Byte): Boolean
Implicitly added by long2float

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
def ==(x: Short): Boolean
Implicitly added by long2float

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
def ==(x: Char): Boolean
Implicitly added by long2float

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
def ==(x: Int): Boolean
Implicitly added by long2float

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
def ==(x: Long): Boolean
Implicitly added by long2float

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
def ==(x: Float): Boolean
Implicitly added by long2float

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
def ==(x: Double): Boolean
Implicitly added by long2float

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
def ==(x: Byte): Boolean

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
def ==(x: Short): Boolean

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
def ==(x: Char): Boolean

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
def ==(x: Int): Boolean

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
def ==(x: Long): Boolean

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
def ==(x: Float): Boolean

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
def ==(x: Double): Boolean

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
def >(x: Byte): Boolean
Implicitly added by long2double

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
def >(x: Short): Boolean
Implicitly added by long2double

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
def >(x: Char): Boolean
Implicitly added by long2double

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
def >(x: Int): Boolean
Implicitly added by long2double

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
def >(x: Long): Boolean
Implicitly added by long2double

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
def >(x: Float): Boolean
Implicitly added by long2double

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
def >(x: Double): Boolean
Implicitly added by long2double

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
def >(x: Byte): Boolean
Implicitly added by long2float

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
def >(x: Short): Boolean
Implicitly added by long2float

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
def >(x: Char): Boolean
Implicitly added by long2float

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
def >(x: Int): Boolean
Implicitly added by long2float

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
def >(x: Long): Boolean
Implicitly added by long2float

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
def >(x: Float): Boolean
Implicitly added by long2float

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
def >(x: Double): Boolean
Implicitly added by long2float

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
def >(x: Byte): Boolean

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
def >(x: Short): Boolean

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
def >(x: Char): Boolean

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
def >(x: Int): Boolean

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
def >(x: Long): Boolean

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
def >(x: Float): Boolean

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
def >(x: Double): Boolean

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
def >=(x: Byte): Boolean
Implicitly added by long2double

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
def >=(x: Short): Boolean
Implicitly added by long2double

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
def >=(x: Char): Boolean
Implicitly added by long2double

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
def >=(x: Int): Boolean
Implicitly added by long2double

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
def >=(x: Long): Boolean
Implicitly added by long2double

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
def >=(x: Float): Boolean
Implicitly added by long2double

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
def >=(x: Double): Boolean
Implicitly added by long2double

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
def >=(x: Byte): Boolean
Implicitly added by long2float

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
def >=(x: Short): Boolean
Implicitly added by long2float

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
def >=(x: Char): Boolean
Implicitly added by long2float

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
def >=(x: Int): Boolean
Implicitly added by long2float

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
def >=(x: Long): Boolean
Implicitly added by long2float

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
def >=(x: Float): Boolean
Implicitly added by long2float

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
def >=(x: Double): Boolean
Implicitly added by long2float

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
def >=(x: Byte): Boolean

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
def >=(x: Short): Boolean

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
def >=(x: Char): Boolean

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
def >=(x: Int): Boolean

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
def >=(x: Long): Boolean

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
def >=(x: Float): Boolean

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
def >=(x: Double): Boolean

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
def >>(x: Int): Long

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
def >>(x: Long): Long

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
def >>>(x: Int): Long

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
def >>>(x: Long): Long

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
def ^(x: Byte): Long

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
def ^(x: Short): Long

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
def ^(x: Char): Long

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
def ^(x: Int): Long

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
def ^(x: Long): Long

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
Implicitly added by long2double
Implicitly added by long2float
Implicitly added by long2double
Implicitly added by long2float
Implicitly added by long2double
Implicitly added by long2float
Implicitly added by long2double
Implicitly added by long2float
def toInt: Int
Implicitly added by long2double
def toInt: Int
Implicitly added by long2float
def toInt: Int
Implicitly added by long2double
Implicitly added by long2float
Implicitly added by long2double
Implicitly added by long2float
Implicitly added by long2double

Returns this value, unmodified.

Returns this value, unmodified.

Source
Double.scala
Implicitly added by long2float

Returns this value, unmodified.

Returns this value, unmodified.

Source
Float.scala

Returns this value, unmodified.

Returns this value, unmodified.

Source
Long.scala
Implicitly added by long2double

Returns the negation of this value.

Returns the negation of this value.

Source
Double.scala
Implicitly added by long2float

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
def |(x: Byte): Long

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
def |(x: Short): Long

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
def |(x: Char): Long

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
def |(x: Int): Long

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
def |(x: Long): Long

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

Deprecated methods

@deprecated("Adding a number and a String is deprecated. Use the string interpolation `s\"$num$str\"`", "2.13.0")
def +(x: String): String
Implicitly added by long2double
Deprecated
Source
Double.scala
@deprecated("Adding a number and a String is deprecated. Use the string interpolation `s\"$num$str\"`", "2.13.0")
def +(x: String): String
Implicitly added by long2float
Deprecated
Source
Float.scala
@deprecated("Adding a number and a String is deprecated. Use the string interpolation `s\"$num$str\"`", "2.13.0")
def +(x: String): String
Deprecated
Source
Long.scala