Long

scala.Long
See theLong companion object
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.

The companion object provides useful non-primitive operations as extension methods.

Attributes

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

Members list

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Value parameters

x

the divisor

Attributes

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.

Value parameters

x

the divisor

Attributes

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.

Value parameters

x

the divisor

Attributes

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.

Value parameters

x

the divisor

Attributes

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.

Value parameters

x

the divisor

Attributes

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.

Value parameters

x

the divisor

Attributes

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.

Value parameters

x

the divisor

Attributes

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.

Value parameters

x

the divisor

Attributes

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.

Value parameters

x

the divisor

Attributes

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.

Value parameters

x

the divisor

Attributes

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.

Value parameters

x

the divisor

Attributes

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.

Value parameters

x

the divisor

Attributes

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.

Value parameters

x

the divisor

Attributes

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.

Value parameters

x

the divisor

Attributes

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.

Value parameters

x

the divisor

Attributes

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.

Value parameters

x

the divisor

Attributes

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.

Value parameters

x

the divisor

Attributes

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.

Value parameters

x

the divisor

Attributes

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.

Value parameters

x

the divisor

Attributes

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.

Value parameters

x

the divisor

Attributes

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.

Value parameters

x

the divisor

Attributes

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.

Value parameters

x

the value to AND with this value

Attributes

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.

Value parameters

x

the value to AND with this value

Attributes

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.

Value parameters

x

the value to AND with this value

Attributes

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.

Value parameters

x

the value to AND with this value

Attributes

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.

Value parameters

x

the value to AND with this value

Attributes

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.

Value parameters

x

the value to multiply this value by

Attributes

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.

Value parameters

x

the value to multiply this value by

Attributes

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.

Value parameters

x

the value to multiply this value by

Attributes

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.

Value parameters

x

the value to multiply this value by

Attributes

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.

Value parameters

x

the value to multiply this value by

Attributes

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.

Value parameters

x

the value to multiply this value by

Attributes

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.

Value parameters

x

the value to multiply this value by

Attributes

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.

Value parameters

x

the value to multiply this value by

Attributes

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.

Value parameters

x

the value to multiply this value by

Attributes

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.

Value parameters

x

the value to multiply this value by

Attributes

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.

Value parameters

x

the value to multiply this value by

Attributes

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.

Value parameters

x

the value to multiply this value by

Attributes

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.

Value parameters

x

the value to multiply this value by

Attributes

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.

Value parameters

x

the value to multiply this value by

Attributes

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

Returns the product of this value and x.

Returns the product of this value and x.

Value parameters

x

the value to multiply this value by

Attributes

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

Returns the product of this value and x.

Returns the product of this value and x.

Value parameters

x

the value to multiply this value by

Attributes

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

Returns the product of this value and x.

Returns the product of this value and x.

Value parameters

x

the value to multiply this value by

Attributes

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

Returns the product of this value and x.

Returns the product of this value and x.

Value parameters

x

the value to multiply this value by

Attributes

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

Returns the product of this value and x.

Returns the product of this value and x.

Value parameters

x

the value to multiply this value by

Attributes

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

Returns the product of this value and x.

Returns the product of this value and x.

Value parameters

x

the value to multiply this value by

Attributes

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

Returns the product of this value and x.

Returns the product of this value and x.

Value parameters

x

the value to multiply this value by

Attributes

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.

Value parameters

x

the value to add to this value

Attributes

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.

Value parameters

x

the value to add to this value

Attributes

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.

Value parameters

x

the value to add to this value

Attributes

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.

Value parameters

x

the value to add to this value

Attributes

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.

Value parameters

x

the value to add to this value

Attributes

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.

Value parameters

x

the value to add to this value

Attributes

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.

Value parameters

x

the value to add to this value

Attributes

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.

Value parameters

x

the value to add to this value

Attributes

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.

Value parameters

x

the value to add to this value

Attributes

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.

Value parameters

x

the value to add to this value

Attributes

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.

Value parameters

x

the value to add to this value

Attributes

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.

Value parameters

x

the value to add to this value

Attributes

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.

Value parameters

x

the value to add to this value

Attributes

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.

Value parameters

x

the value to add to this value

Attributes

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

Returns the sum of this value and x.

Returns the sum of this value and x.

Value parameters

x

the value to add to this value

Attributes

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

Returns the sum of this value and x.

Returns the sum of this value and x.

Value parameters

x

the value to add to this value

Attributes

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

Returns the sum of this value and x.

Returns the sum of this value and x.

Value parameters

x

the value to add to this value

Attributes

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

Returns the sum of this value and x.

Returns the sum of this value and x.

Value parameters

x

the value to add to this value

Attributes

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

Returns the sum of this value and x.

Returns the sum of this value and x.

Value parameters

x

the value to add to this value

Attributes

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

Returns the sum of this value and x.

Returns the sum of this value and x.

Value parameters

x

the value to add to this value

Attributes

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

Returns the sum of this value and x.

Returns the sum of this value and x.

Value parameters

x

the value to add to this value

Attributes

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.

Value parameters

x

the value to subtract from this value

Attributes

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.

Value parameters

x

the value to subtract from this value

Attributes

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.

Value parameters

x

the value to subtract from this value

Attributes

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.

Value parameters

x

the value to subtract from this value

Attributes

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.

Value parameters

x

the value to subtract from this value

Attributes

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.

Value parameters

x

the value to subtract from this value

Attributes

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.

Value parameters

x

the value to subtract from this value

Attributes

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.

Value parameters

x

the value to subtract from this value

Attributes

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.

Value parameters

x

the value to subtract from this value

Attributes

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.

Value parameters

x

the value to subtract from this value

Attributes

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.

Value parameters

x

the value to subtract from this value

Attributes

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.

Value parameters

x

the value to subtract from this value

Attributes

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.

Value parameters

x

the value to subtract from this value

Attributes

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.

Value parameters

x

the value to subtract from this value

Attributes

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

Returns the difference of this value and x.

Returns the difference of this value and x.

Value parameters

x

the value to subtract from this value

Attributes

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

Returns the difference of this value and x.

Returns the difference of this value and x.

Value parameters

x

the value to subtract from this value

Attributes

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

Returns the difference of this value and x.

Returns the difference of this value and x.

Value parameters

x

the value to subtract from this value

Attributes

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

Returns the difference of this value and x.

Returns the difference of this value and x.

Value parameters

x

the value to subtract from this value

Attributes

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

Returns the difference of this value and x.

Returns the difference of this value and x.

Value parameters

x

the value to subtract from this value

Attributes

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

Returns the difference of this value and x.

Returns the difference of this value and x.

Value parameters

x

the value to subtract from this value

Attributes

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

Returns the difference of this value and x.

Returns the difference of this value and x.

Value parameters

x

the value to subtract from this value

Attributes

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.

Value parameters

x

the value to divide this value by

Attributes

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.

Value parameters

x

the value to divide this value by

Attributes

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.

Value parameters

x

the value to divide this value by

Attributes

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.

Value parameters

x

the value to divide this value by

Attributes

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.

Value parameters

x

the value to divide this value by

Attributes

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.

Value parameters

x

the value to divide this value by

Attributes

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.

Value parameters

x

the value to divide this value by

Attributes

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.

Value parameters

x

the value to divide this value by

Attributes

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.

Value parameters

x

the value to divide this value by

Attributes

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.

Value parameters

x

the value to divide this value by

Attributes

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.

Value parameters

x

the value to divide this value by

Attributes

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.

Value parameters

x

the value to divide this value by

Attributes

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.

Value parameters

x

the value to divide this value by

Attributes

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.

Value parameters

x

the value to divide this value by

Attributes

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

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Value parameters

x

the value to divide this value by

Attributes

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

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Value parameters

x

the value to divide this value by

Attributes

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

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Value parameters

x

the value to divide this value by

Attributes

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

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Value parameters

x

the value to divide this value by

Attributes

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

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Value parameters

x

the value to divide this value by

Attributes

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

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Value parameters

x

the value to divide this value by

Attributes

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

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Value parameters

x

the value to divide this value by

Attributes

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.

Value parameters

x

the value to compare against this one

Attributes

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.

Value parameters

x

the value to compare against this one

Attributes

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.

Value parameters

x

the value to compare against this one

Attributes

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.

Value parameters

x

the value to compare against this one

Attributes

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.

Value parameters

x

the value to compare against this one

Attributes

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.

Value parameters

x

the value to compare against this one

Attributes

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.

Value parameters

x

the value to compare against this one

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the number of bits to shift left

Attributes

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.

Value parameters

x

the number of bits to shift left

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Value parameters

x

the value to compare against this one

Attributes

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.

Value parameters

x

the value to compare against this one

Attributes

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.

Value parameters

x

the value to compare against this one

Attributes

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.

Value parameters

x

the value to compare against this one

Attributes

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.

Value parameters

x

the value to compare against this one

Attributes

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.

Value parameters

x

the value to compare against this one

Attributes

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.

Value parameters

x

the value to compare against this one

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Value parameters

x

the value to compare against

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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. The effect of this is to retain the sign of the value.

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.

Value parameters

x

the number of bits to shift right

Attributes

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. The effect of this is to retain the sign of the value.

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.

Value parameters

x

the number of bits to shift right

Attributes

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.

Attributes

Example
@example 

-21 >>> 3 == 536870909 // in binary: 11111111 11111111 11111111 11101011 >>> 3 == // 00011111 11111111 11111111 11111101

@param x the number of bits to shift right
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.

Attributes

Example
@example 

-21 >>> 3 == 536870909 // in binary: 11111111 11111111 11111111 11101011 >>> 3 == // 00011111 11111111 11111111 11111101

@param x the number of bits to shift right
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.

Value parameters

x

the value to XOR with this value

Attributes

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.

Value parameters

x

the value to XOR with this value

Attributes

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.

Value parameters

x

the value to XOR with this value

Attributes

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.

Value parameters

x

the value to XOR with this value

Attributes

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.

Value parameters

x

the value to XOR with this value

Attributes

Example
(0xf0 ^ 0xaa) == 0x5a
// in binary:   11110000
//            ^ 10101010
//              --------
//              01011010
Source
Long.scala
def toByte: Byte
Implicitly added by long2double

Attributes

Source
Double.scala
def toByte: Byte
Implicitly added by long2float

Attributes

Source
Float.scala
def toByte: Byte

Attributes

Source
Long.scala
def toChar: Char
Implicitly added by long2double

Attributes

Source
Double.scala
def toChar: Char
Implicitly added by long2float

Attributes

Source
Float.scala
def toChar: Char

Attributes

Source
Long.scala
Implicitly added by long2double

Attributes

Source
Double.scala
Implicitly added by long2float

Attributes

Source
Float.scala

Attributes

Source
Long.scala
def toFloat: Float
Implicitly added by long2double

Attributes

Source
Double.scala
def toFloat: Float
Implicitly added by long2float

Attributes

Source
Float.scala
def toFloat: Float

Attributes

Source
Long.scala
def toInt: Int
Implicitly added by long2double

Attributes

Source
Double.scala
def toInt: Int
Implicitly added by long2float

Attributes

Source
Float.scala
def toInt: Int

Attributes

Source
Long.scala
def toLong: Long
Implicitly added by long2double

Attributes

Source
Double.scala
def toLong: Long
Implicitly added by long2float

Attributes

Source
Float.scala
def toLong: Long

Attributes

Source
Long.scala
def toShort: Short
Implicitly added by long2double

Attributes

Source
Double.scala
def toShort: Short
Implicitly added by long2float

Attributes

Source
Float.scala
def toShort: Short

Attributes

Source
Long.scala
Implicitly added by long2double

Returns this value, unmodified.

Returns this value, unmodified.

Attributes

Source
Double.scala
def unary_+: Float
Implicitly added by long2float

Returns this value, unmodified.

Returns this value, unmodified.

Attributes

Source
Float.scala
def unary_+: Long

Returns this value, unmodified.

Returns this value, unmodified.

Attributes

Source
Long.scala
Implicitly added by long2double

Returns the negation of this value.

Returns the negation of this value.

Attributes

Source
Double.scala
def unary_-: Float
Implicitly added by long2float

Returns the negation of this value.

Returns the negation of this value.

Attributes

Source
Float.scala
def unary_-: Long

Returns the negation of this value.

Returns the negation of this value.

Attributes

Source
Long.scala
def unary_~: Long

Returns the bitwise negation of this value.

Returns the bitwise negation of this value.

Attributes

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.

Value parameters

x

the value to OR with this value

Attributes

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.

Value parameters

x

the value to OR with this value

Attributes

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.

Value parameters

x

the value to OR with this value

Attributes

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.

Value parameters

x

the value to OR with this value

Attributes

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.

Value parameters

x

the value to OR with this value

Attributes

Example
(0xf0 | 0xaa) == 0xfa
// in binary:   11110000
//            | 10101010
//              --------
//              11111010
Source
Long.scala

Concrete methods

def abs: Long
Extension method from Long

Returns the absolute value of this.

Returns the absolute value of this.

Attributes

Source
Long.scala
def compare(that: Long): Int
Extension method from Long

Compares this to that according to the standard total ordering.

Compares this to that according to the standard total ordering.

Returns:

  • a positive value if this > that
  • a negative value if this &lt; that
  • 0 if this == that

Attributes

Source
Long.scala
Extension method from Long

Returns true iff this is within the range of scala.Byte MinValue and MaxValue; otherwise returns false.

Returns true iff this is within the range of scala.Byte MinValue and MaxValue; otherwise returns false.

Attributes

Source
Long.scala
Extension method from Long

Returns true iff this is within the range of scala.Char MinValue and MaxValue; otherwise returns false.

Returns true iff this is within the range of scala.Char MinValue and MaxValue; otherwise returns false.

Attributes

Source
Long.scala
Extension method from Long

Returns true iff this is within the range of scala.Int MinValue and MaxValue; otherwise returns false.

Returns true iff this is within the range of scala.Int MinValue and MaxValue; otherwise returns false.

Attributes

Source
Long.scala
Extension method from Long

Returns true iff this is within the range of scala.Short MinValue and MaxValue; otherwise returns false.

Returns true iff this is within the range of scala.Short MinValue and MaxValue; otherwise returns false.

Attributes

Source
Long.scala
def max(that: Long): Long
Extension method from Long

Returns this if this > that or that otherwise.

Returns this if this > that or that otherwise.

Attributes

Source
Long.scala
def min(that: Long): Long
Extension method from Long

Returns this if this &lt; that or that otherwise.

Returns this if this &lt; that or that otherwise.

Attributes

Source
Long.scala
def sign: Long
Extension method from Long

Returns the sign of this.

Returns the sign of this.

0 if this == 0, -1 if this &lt; 0 and 1 if this > 0.

Attributes

Source
Long.scala
def to(end: Long): Inclusive[Long]
Extension method from Long

A scala.collection.immutable.NumericRange from this up to and including end.

A scala.collection.immutable.NumericRange from this up to and including end.

Value parameters

end

The final bound of the range to make.

Attributes

Source
Long.scala
def to(end: Long, step: Long): Inclusive[Long]
Extension method from Long

A scala.collection.immutable.NumericRange from this up to and including end.

A scala.collection.immutable.NumericRange from this up to and including end.

Value parameters

end

The final bound of the range to make.

step

The number to increase by for each step of the range.

Attributes

Source
Long.scala
Extension method from Long

Attributes

Source
Long.scala
Extension method from Long

Attributes

Source
Long.scala
Extension method from Long

Attributes

Source
Long.scala
def until(end: Long): Exclusive[Long]
Extension method from Long

A scala.collection.immutable.NumericRange from this up to but not including end.

A scala.collection.immutable.NumericRange from this up to but not including end.

Value parameters

end

The final bound of the range to make.

Attributes

Source
Long.scala
def until(end: Long, step: Long): Exclusive[Long]
Extension method from Long

A scala.collection.immutable.NumericRange from this up to but not including end.

A scala.collection.immutable.NumericRange from this up to but not including end.

Value parameters

end

The final bound of the range to make.

step

The number to increase by for each step of the range.

Attributes

Source
Long.scala

Deprecated methods

def +(x: String): String
Implicitly added by long2double

Attributes

Deprecated
[Since version 2.13.0] Adding a number and a String is deprecated. Use the string interpolation `s\"$num$str\"`
Source
Double.scala
def +(x: String): String
Implicitly added by long2float

Attributes

Deprecated
[Since version 2.13.0] Adding a number and a String is deprecated. Use the string interpolation `s\"$num$str\"`
Source
Float.scala
def +(x: String): String

Attributes

Deprecated
[Since version 2.13.0] Adding a number and a String is deprecated. Use the string interpolation `s\"$num$str\"`
Source
Long.scala
Extension method from Long

Returns true iff this is within the range of scala.Long MinValue and MaxValue; otherwise returns false.

Returns true iff this is within the range of scala.Long MinValue and MaxValue; otherwise returns false.

Attributes

Deprecated
[Since version 3.10.0] isValidLong on Long is always true
Source
Long.scala
Extension method from Long

Returns '''true''' if this number has no decimal component. Always '''true''' for Long.

Returns '''true''' if this number has no decimal component. Always '''true''' for Long.

Attributes

Deprecated
[Since version 2.12.15] isWhole on Long is always true
Source
Long.scala
def round: Long
Extension method from Long

There is no reason to round an Int, but this method is provided to avoid accidental loss of precision from a detour through Double.

There is no reason to round an Int, but this method is provided to avoid accidental loss of precision from a detour through Double.

Attributes

Deprecated
[Since version 2.11.0] this is an integer type; there is no reason to round it. Perhaps you meant to call this on a floating-point value?
Source
Long.scala
def signum: Int
Extension method from Long

Returns the signum of this.

Returns the signum of this.

Attributes

Deprecated
[Since version 2.13.0] use `sign` method instead
Source
Long.scala