docs: mod/rem: clarify who is dividend and divisor

This commit is contained in:
Paŭlo Ebermann
2022-09-30 14:41:55 +02:00
committed by GitHub
parent 5772230357
commit 418c530820
8 changed files with 92 additions and 92 deletions
+36 -36
View File
@@ -161,7 +161,7 @@ public class Byte private constructor() : Number(), Comparable<Byte> {
public operator fun div(other: Double): Double
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -169,7 +169,7 @@ public class Byte private constructor() : Number(), Comparable<Byte> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Byte): Int
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -177,7 +177,7 @@ public class Byte private constructor() : Number(), Comparable<Byte> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Short): Int
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -185,7 +185,7 @@ public class Byte private constructor() : Number(), Comparable<Byte> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Int): Int
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -193,7 +193,7 @@ public class Byte private constructor() : Number(), Comparable<Byte> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Long): Long
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -201,7 +201,7 @@ public class Byte private constructor() : Number(), Comparable<Byte> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Float): Float
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -496,7 +496,7 @@ public class Short private constructor() : Number(), Comparable<Short> {
public operator fun div(other: Double): Double
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -504,7 +504,7 @@ public class Short private constructor() : Number(), Comparable<Short> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Byte): Int
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -512,7 +512,7 @@ public class Short private constructor() : Number(), Comparable<Short> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Short): Int
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -520,7 +520,7 @@ public class Short private constructor() : Number(), Comparable<Short> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Int): Int
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -528,7 +528,7 @@ public class Short private constructor() : Number(), Comparable<Short> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Long): Long
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -536,7 +536,7 @@ public class Short private constructor() : Number(), Comparable<Short> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Float): Float
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -829,7 +829,7 @@ public class Int private constructor() : Number(), Comparable<Int> {
public operator fun div(other: Double): Double
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -837,7 +837,7 @@ public class Int private constructor() : Number(), Comparable<Int> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Byte): Int
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -845,7 +845,7 @@ public class Int private constructor() : Number(), Comparable<Int> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Short): Int
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -853,7 +853,7 @@ public class Int private constructor() : Number(), Comparable<Int> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Int): Int
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -861,7 +861,7 @@ public class Int private constructor() : Number(), Comparable<Int> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Long): Long
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -869,7 +869,7 @@ public class Int private constructor() : Number(), Comparable<Int> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Float): Float
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -1204,7 +1204,7 @@ public class Long private constructor() : Number(), Comparable<Long> {
public operator fun div(other: Double): Double
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -1212,7 +1212,7 @@ public class Long private constructor() : Number(), Comparable<Long> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Byte): Long
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -1220,7 +1220,7 @@ public class Long private constructor() : Number(), Comparable<Long> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Short): Long
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -1228,7 +1228,7 @@ public class Long private constructor() : Number(), Comparable<Long> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Int): Long
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -1236,7 +1236,7 @@ public class Long private constructor() : Number(), Comparable<Long> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Long): Long
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -1244,7 +1244,7 @@ public class Long private constructor() : Number(), Comparable<Long> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Float): Float
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -1598,7 +1598,7 @@ public class Float private constructor() : Number(), Comparable<Float> {
public operator fun div(other: Double): Double
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -1606,7 +1606,7 @@ public class Float private constructor() : Number(), Comparable<Float> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Byte): Float
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -1614,7 +1614,7 @@ public class Float private constructor() : Number(), Comparable<Float> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Short): Float
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -1622,7 +1622,7 @@ public class Float private constructor() : Number(), Comparable<Float> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Int): Float
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -1630,7 +1630,7 @@ public class Float private constructor() : Number(), Comparable<Float> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Long): Float
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -1638,7 +1638,7 @@ public class Float private constructor() : Number(), Comparable<Float> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Float): Float
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -1900,7 +1900,7 @@ public class Double private constructor() : Number(), Comparable<Double> {
public operator fun div(other: Double): Double
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -1908,7 +1908,7 @@ public class Double private constructor() : Number(), Comparable<Double> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Byte): Double
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -1916,7 +1916,7 @@ public class Double private constructor() : Number(), Comparable<Double> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Short): Double
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -1924,7 +1924,7 @@ public class Double private constructor() : Number(), Comparable<Double> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Int): Double
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -1932,7 +1932,7 @@ public class Double private constructor() : Number(), Comparable<Double> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Long): Double
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/
@@ -1940,7 +1940,7 @@ public class Double private constructor() : Number(), Comparable<Double> {
@kotlin.internal.IntrinsicConstEvaluation
public operator fun rem(other: Float): Double
/**
* Calculates the remainder of truncating division of this value by the other value.
* 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.
*/