plus

operator external fun plus(other: Byte): Long(source)
operator external fun plus(other: Short): Long(source)
operator external fun plus(other: Int): Long(source)
operator external fun plus(other: Long): Long(source)

Adds other to this value.

Operands use Long arithmetic, wrapping modulo 2^64 on overflow.

Return

the Long sum.

Parameters

other

value to add.


operator external fun plus(other: Float): Float(source)

Adds other to this value.

Operands are converted to Float before the operation; integral precision can be lost. Floating results follow IEEE arithmetic, including signed zeros, infinities and NaN.

Return

the Float sum.

Parameters

other

value to add.


operator external fun plus(other: Double): Double(source)

Adds other to this value.

Operands are converted to Double before the operation; integral precision can be lost. Floating results follow IEEE arithmetic, including signed zeros, infinities and NaN.

Return

the Double sum.

Parameters

other

value to add.