rem

expect operator fun rem(other: Byte): Int(source)
expect operator fun rem(other: Short): Int(source)
expect operator fun rem(other: Int): Int(source)
expect operator fun rem(other: Long): Long(source)
expect operator fun rem(other: Float): Float(source)
expect operator fun rem(other: Double): Double(source)

Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).

The result is either zero or has the same sign as the dividend and has the absolute value less than the absolute value of the divisor.

Since Kotlin

1.1
actual operator fun rem(other: Byte): Int(source)
actual operator fun rem(other: Short): Int(source)
actual operator fun rem(other: Int): Int(source)
actual operator fun rem(other: Long): Long(source)
actual operator fun rem(other: Float): Float(source)
actual operator fun rem(other: Double): Double(source)

Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).

The result is either zero or has the same sign as the dividend and has the absolute value less than the absolute value of the divisor.

Since Kotlin

1.1
operator fun rem(other: Byte): Int(source)
operator fun rem(other: Short): Int(source)
operator fun rem(other: Int): Int(source)
operator fun rem(other: Long): Long(source)
operator fun rem(other: Float): Float(source)
operator fun rem(other: Double): Double(source)

Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).

The result is either zero or has the same sign as the dividend and has the absolute value less than the absolute value of the divisor.

Since Kotlin

1.1
actual inline operator fun rem(other: Byte): Int(source)
actual inline operator fun rem(other: Short): Int(source)
actual operator external fun rem(other: Int): Int(source)
actual inline operator fun rem(other: Long): Long(source)
actual inline operator fun rem(other: Float): Float(source)
actual inline operator fun rem(other: Double): Double(source)

Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).

The result is either zero or has the same sign as the dividend and has the absolute value less than the absolute value of the divisor.

Since Kotlin

1.3
actual inline operator fun rem(other: Byte): Int(source)
actual inline operator fun rem(other: Short): Int(source)
actual operator fun rem(other: Int): Int(source)
actual inline operator fun rem(other: Long): Long(source)
actual inline operator fun rem(other: Float): Float(source)
actual inline operator fun rem(other: Double): Double(source)

Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).

The result is either zero or has the same sign as the dividend and has the absolute value less than the absolute value of the divisor.

Since Kotlin

1.8
actual inline operator fun rem(other: Byte): Int(source)
actual inline operator fun rem(other: Short): Int(source)
actual operator fun rem(other: Int): Int(source)
actual inline operator fun rem(other: Long): Long(source)
actual inline operator fun rem(other: Float): Float(source)
actual inline operator fun rem(other: Double): Double(source)

Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).

The result is either zero or has the same sign as the dividend and has the absolute value less than the absolute value of the divisor.

Since Kotlin

1.8