rem

operator fun rem(other: Byte): Double(source)
operator fun rem(other: Short): Double(source)
operator fun rem(other: Int): Double(source)
operator fun rem(other: Long): Double(source)
operator fun rem(other: Float): Double(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
operator fun rem(other: Byte): Double(source)
operator fun rem(other: Short): Double(source)
operator fun rem(other: Int): Double(source)
operator fun rem(other: Long): Double(source)
operator fun rem(other: Float): Double(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
inline operator fun rem(other: Byte): Double(source)
inline operator fun rem(other: Short): Double(source)
inline operator fun rem(other: Int): Double(source)
inline operator fun rem(other: Long): Double(source)
inline operator fun rem(other: Float): Double(source)
operator external 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
inline operator fun rem(other: Byte): Double(source)
inline operator fun rem(other: Short): Double(source)
inline operator fun rem(other: Int): Double(source)
inline operator fun rem(other: Long): Double(source)
inline operator fun rem(other: Float): Double(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.8
inline operator fun rem(other: Byte): Double(source)
inline operator fun rem(other: Short): Double(source)
inline operator fun rem(other: Int): Double(source)
inline operator fun rem(other: Long): Double(source)
inline operator fun rem(other: Float): Double(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.8