|
|
|
@@ -1,5 +1,5 @@
|
|
|
|
|
/*
|
|
|
|
|
* Copyright 2010-2018 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
|
|
|
|
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
|
|
|
|
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
@@ -131,25 +131,6 @@ public class Byte private constructor() : Number(), Comparable<Byte> {
|
|
|
|
|
/** Divides this value by the other value. */
|
|
|
|
|
public operator fun div(other: Double): Double
|
|
|
|
|
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Byte): Int
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Short): Int
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Int): Int
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Long): Long
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Float): Float
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Double): Double
|
|
|
|
|
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@SinceKotlin("1.1")
|
|
|
|
|
public operator fun rem(other: Byte): Int
|
|
|
|
@@ -362,25 +343,6 @@ public class Short private constructor() : Number(), Comparable<Short> {
|
|
|
|
|
/** Divides this value by the other value. */
|
|
|
|
|
public operator fun div(other: Double): Double
|
|
|
|
|
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Byte): Int
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Short): Int
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Int): Int
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Long): Long
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Float): Float
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Double): Double
|
|
|
|
|
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@SinceKotlin("1.1")
|
|
|
|
|
public operator fun rem(other: Byte): Int
|
|
|
|
@@ -591,25 +553,6 @@ public class Int private constructor() : Number(), Comparable<Int> {
|
|
|
|
|
/** Divides this value by the other value. */
|
|
|
|
|
public operator fun div(other: Double): Double
|
|
|
|
|
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Byte): Int
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Short): Int
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Int): Int
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Long): Long
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Float): Float
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Double): Double
|
|
|
|
|
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@SinceKotlin("1.1")
|
|
|
|
|
public operator fun rem(other: Byte): Int
|
|
|
|
@@ -847,25 +790,6 @@ public class Float private constructor() : Number(), Comparable<Float> {
|
|
|
|
|
/** Divides this value by the other value. */
|
|
|
|
|
public operator fun div(other: Double): Double
|
|
|
|
|
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Byte): Float
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Short): Float
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Int): Float
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Long): Float
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Float): Float
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Double): Double
|
|
|
|
|
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@SinceKotlin("1.1")
|
|
|
|
|
public operator fun rem(other: Byte): Float
|
|
|
|
@@ -1072,25 +996,6 @@ public class Double private constructor() : Number(), Comparable<Double> {
|
|
|
|
|
/** Divides this value by the other value. */
|
|
|
|
|
public operator fun div(other: Double): Double
|
|
|
|
|
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Byte): Double
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Short): Double
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Int): Double
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Long): Double
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Float): Double
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@Deprecated("Use rem(other) instead", ReplaceWith("rem(other)"), DeprecationLevel.ERROR)
|
|
|
|
|
public operator fun mod(other: Double): Double
|
|
|
|
|
|
|
|
|
|
/** Calculates the remainder of dividing this value by the other value. */
|
|
|
|
|
@SinceKotlin("1.1")
|
|
|
|
|
public operator fun rem(other: Byte): Double
|
|
|
|
|