Trim trailing spaces in generated docs of builtins

This commit is contained in:
Ilya Gorbunov
2022-09-30 14:16:30 +02:00
committed by Space Team
parent 9ac9bef20f
commit 34de2d9155
7 changed files with 126 additions and 126 deletions
+24 -24
View File
@@ -20,7 +20,7 @@ public inline fun Byte.floorDiv(other: Byte): Int =
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is either zero or has the same sign as the _divisor_ and has the absolute value less than the absolute value of the divisor.
*/
@SinceKotlin("1.5")
@@ -38,7 +38,7 @@ public inline fun Byte.floorDiv(other: Short): Int =
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is either zero or has the same sign as the _divisor_ and has the absolute value less than the absolute value of the divisor.
*/
@SinceKotlin("1.5")
@@ -56,7 +56,7 @@ public inline fun Byte.floorDiv(other: Int): Int =
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is either zero or has the same sign as the _divisor_ and has the absolute value less than the absolute value of the divisor.
*/
@SinceKotlin("1.5")
@@ -74,7 +74,7 @@ public inline fun Byte.floorDiv(other: Long): Long =
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is either zero or has the same sign as the _divisor_ and has the absolute value less than the absolute value of the divisor.
*/
@SinceKotlin("1.5")
@@ -92,7 +92,7 @@ public inline fun Short.floorDiv(other: Byte): Int =
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is either zero or has the same sign as the _divisor_ and has the absolute value less than the absolute value of the divisor.
*/
@SinceKotlin("1.5")
@@ -110,7 +110,7 @@ public inline fun Short.floorDiv(other: Short): Int =
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is either zero or has the same sign as the _divisor_ and has the absolute value less than the absolute value of the divisor.
*/
@SinceKotlin("1.5")
@@ -128,7 +128,7 @@ public inline fun Short.floorDiv(other: Int): Int =
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is either zero or has the same sign as the _divisor_ and has the absolute value less than the absolute value of the divisor.
*/
@SinceKotlin("1.5")
@@ -146,7 +146,7 @@ public inline fun Short.floorDiv(other: Long): Long =
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is either zero or has the same sign as the _divisor_ and has the absolute value less than the absolute value of the divisor.
*/
@SinceKotlin("1.5")
@@ -164,7 +164,7 @@ public inline fun Int.floorDiv(other: Byte): Int =
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is either zero or has the same sign as the _divisor_ and has the absolute value less than the absolute value of the divisor.
*/
@SinceKotlin("1.5")
@@ -182,7 +182,7 @@ public inline fun Int.floorDiv(other: Short): Int =
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is either zero or has the same sign as the _divisor_ and has the absolute value less than the absolute value of the divisor.
*/
@SinceKotlin("1.5")
@@ -203,7 +203,7 @@ public inline fun Int.floorDiv(other: Int): Int {
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is either zero or has the same sign as the _divisor_ and has the absolute value less than the absolute value of the divisor.
*/
@SinceKotlin("1.5")
@@ -223,7 +223,7 @@ public inline fun Int.floorDiv(other: Long): Long =
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is either zero or has the same sign as the _divisor_ and has the absolute value less than the absolute value of the divisor.
*/
@SinceKotlin("1.5")
@@ -241,7 +241,7 @@ public inline fun Long.floorDiv(other: Byte): Long =
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is either zero or has the same sign as the _divisor_ and has the absolute value less than the absolute value of the divisor.
*/
@SinceKotlin("1.5")
@@ -259,7 +259,7 @@ public inline fun Long.floorDiv(other: Short): Long =
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is either zero or has the same sign as the _divisor_ and has the absolute value less than the absolute value of the divisor.
*/
@SinceKotlin("1.5")
@@ -277,7 +277,7 @@ public inline fun Long.floorDiv(other: Int): Long =
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is either zero or has the same sign as the _divisor_ and has the absolute value less than the absolute value of the divisor.
*/
@SinceKotlin("1.5")
@@ -298,7 +298,7 @@ public inline fun Long.floorDiv(other: Long): Long {
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is either zero or has the same sign as the _divisor_ and has the absolute value less than the absolute value of the divisor.
*/
@SinceKotlin("1.5")
@@ -311,9 +311,9 @@ public inline fun Long.mod(other: Long): Long {
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is either zero or has the same sign as the _divisor_ and has the absolute value less than the absolute value of the divisor.
*
*
* If the result cannot be represented exactly, it is rounded to the nearest representable number. In this case the absolute value of the result can be less than or _equal to_ the absolute value of the divisor.
*/
@SinceKotlin("1.5")
@@ -326,9 +326,9 @@ public inline fun Float.mod(other: Float): Float {
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is either zero or has the same sign as the _divisor_ and has the absolute value less than the absolute value of the divisor.
*
*
* If the result cannot be represented exactly, it is rounded to the nearest representable number. In this case the absolute value of the result can be less than or _equal to_ the absolute value of the divisor.
*/
@SinceKotlin("1.5")
@@ -339,9 +339,9 @@ public inline fun Float.mod(other: Double): Double =
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is either zero or has the same sign as the _divisor_ and has the absolute value less than the absolute value of the divisor.
*
*
* If the result cannot be represented exactly, it is rounded to the nearest representable number. In this case the absolute value of the result can be less than or _equal to_ the absolute value of the divisor.
*/
@SinceKotlin("1.5")
@@ -352,9 +352,9 @@ public inline fun Double.mod(other: Float): Double =
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is either zero or has the same sign as the _divisor_ and has the absolute value less than the absolute value of the divisor.
*
*
* If the result cannot be represented exactly, it is rounded to the nearest representable number. In this case the absolute value of the result can be less than or _equal to_ the absolute value of the divisor.
*/
@SinceKotlin("1.5")
+16 -16
View File
@@ -124,28 +124,28 @@ public value class UByte @kotlin.internal.IntrinsicConstEvaluation @PublishedApi
/**
* Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*/
@kotlin.internal.InlineOnly
public inline operator fun rem(other: UByte): UInt = this.toUInt().rem(other.toUInt())
/**
* Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*/
@kotlin.internal.InlineOnly
public inline operator fun rem(other: UShort): UInt = this.toUInt().rem(other.toUInt())
/**
* Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*/
@kotlin.internal.InlineOnly
public inline operator fun rem(other: UInt): UInt = this.toUInt().rem(other)
/**
* Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*/
@kotlin.internal.InlineOnly
@@ -153,28 +153,28 @@ public value class UByte @kotlin.internal.IntrinsicConstEvaluation @PublishedApi
/**
* Divides this value by the other value, flooring the result to an integer that is closer to negative infinity.
*
*
* For unsigned types, the results of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
public inline fun floorDiv(other: UByte): UInt = this.toUInt().floorDiv(other.toUInt())
/**
* Divides this value by the other value, flooring the result to an integer that is closer to negative infinity.
*
*
* For unsigned types, the results of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
public inline fun floorDiv(other: UShort): UInt = this.toUInt().floorDiv(other.toUInt())
/**
* Divides this value by the other value, flooring the result to an integer that is closer to negative infinity.
*
*
* For unsigned types, the results of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
public inline fun floorDiv(other: UInt): UInt = this.toUInt().floorDiv(other)
/**
* Divides this value by the other value, flooring the result to an integer that is closer to negative infinity.
*
*
* For unsigned types, the results of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
@@ -182,36 +182,36 @@ public value class UByte @kotlin.internal.IntrinsicConstEvaluation @PublishedApi
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*
*
* For unsigned types, the remainders of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
public inline fun mod(other: UByte): UByte = this.toUInt().mod(other.toUInt()).toUByte()
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*
*
* For unsigned types, the remainders of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
public inline fun mod(other: UShort): UShort = this.toUInt().mod(other.toUInt()).toUShort()
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*
*
* For unsigned types, the remainders of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
public inline fun mod(other: UInt): UInt = this.toUInt().mod(other)
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*
*
* For unsigned types, the remainders of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
+16 -16
View File
@@ -124,28 +124,28 @@ public value class UInt @kotlin.internal.IntrinsicConstEvaluation @PublishedApi
/**
* Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*/
@kotlin.internal.InlineOnly
public inline operator fun rem(other: UByte): UInt = this.rem(other.toUInt())
/**
* Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*/
@kotlin.internal.InlineOnly
public inline operator fun rem(other: UShort): UInt = this.rem(other.toUInt())
/**
* Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*/
@kotlin.internal.InlineOnly
public inline operator fun rem(other: UInt): UInt = uintRemainder(this, other)
/**
* Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*/
@kotlin.internal.InlineOnly
@@ -153,28 +153,28 @@ public value class UInt @kotlin.internal.IntrinsicConstEvaluation @PublishedApi
/**
* Divides this value by the other value, flooring the result to an integer that is closer to negative infinity.
*
*
* For unsigned types, the results of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
public inline fun floorDiv(other: UByte): UInt = this.floorDiv(other.toUInt())
/**
* Divides this value by the other value, flooring the result to an integer that is closer to negative infinity.
*
*
* For unsigned types, the results of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
public inline fun floorDiv(other: UShort): UInt = this.floorDiv(other.toUInt())
/**
* Divides this value by the other value, flooring the result to an integer that is closer to negative infinity.
*
*
* For unsigned types, the results of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
public inline fun floorDiv(other: UInt): UInt = div(other)
/**
* Divides this value by the other value, flooring the result to an integer that is closer to negative infinity.
*
*
* For unsigned types, the results of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
@@ -182,36 +182,36 @@ public value class UInt @kotlin.internal.IntrinsicConstEvaluation @PublishedApi
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*
*
* For unsigned types, the remainders of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
public inline fun mod(other: UByte): UByte = this.mod(other.toUInt()).toUByte()
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*
*
* For unsigned types, the remainders of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
public inline fun mod(other: UShort): UShort = this.mod(other.toUInt()).toUShort()
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*
*
* For unsigned types, the remainders of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
public inline fun mod(other: UInt): UInt = rem(other)
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*
*
* For unsigned types, the remainders of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
+16 -16
View File
@@ -124,28 +124,28 @@ public value class ULong @kotlin.internal.IntrinsicConstEvaluation @PublishedApi
/**
* Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*/
@kotlin.internal.InlineOnly
public inline operator fun rem(other: UByte): ULong = this.rem(other.toULong())
/**
* Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*/
@kotlin.internal.InlineOnly
public inline operator fun rem(other: UShort): ULong = this.rem(other.toULong())
/**
* Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*/
@kotlin.internal.InlineOnly
public inline operator fun rem(other: UInt): ULong = this.rem(other.toULong())
/**
* Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*/
@kotlin.internal.InlineOnly
@@ -153,28 +153,28 @@ public value class ULong @kotlin.internal.IntrinsicConstEvaluation @PublishedApi
/**
* Divides this value by the other value, flooring the result to an integer that is closer to negative infinity.
*
*
* For unsigned types, the results of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
public inline fun floorDiv(other: UByte): ULong = this.floorDiv(other.toULong())
/**
* Divides this value by the other value, flooring the result to an integer that is closer to negative infinity.
*
*
* For unsigned types, the results of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
public inline fun floorDiv(other: UShort): ULong = this.floorDiv(other.toULong())
/**
* Divides this value by the other value, flooring the result to an integer that is closer to negative infinity.
*
*
* For unsigned types, the results of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
public inline fun floorDiv(other: UInt): ULong = this.floorDiv(other.toULong())
/**
* Divides this value by the other value, flooring the result to an integer that is closer to negative infinity.
*
*
* For unsigned types, the results of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
@@ -182,36 +182,36 @@ public value class ULong @kotlin.internal.IntrinsicConstEvaluation @PublishedApi
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*
*
* For unsigned types, the remainders of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
public inline fun mod(other: UByte): UByte = this.mod(other.toULong()).toUByte()
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*
*
* For unsigned types, the remainders of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
public inline fun mod(other: UShort): UShort = this.mod(other.toULong()).toUShort()
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*
*
* For unsigned types, the remainders of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
public inline fun mod(other: UInt): UInt = this.mod(other.toULong()).toUInt()
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*
*
* For unsigned types, the remainders of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
+16 -16
View File
@@ -124,28 +124,28 @@ public value class UShort @kotlin.internal.IntrinsicConstEvaluation @PublishedAp
/**
* Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*/
@kotlin.internal.InlineOnly
public inline operator fun rem(other: UByte): UInt = this.toUInt().rem(other.toUInt())
/**
* Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*/
@kotlin.internal.InlineOnly
public inline operator fun rem(other: UShort): UInt = this.toUInt().rem(other.toUInt())
/**
* Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*/
@kotlin.internal.InlineOnly
public inline operator fun rem(other: UInt): UInt = this.toUInt().rem(other)
/**
* Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*/
@kotlin.internal.InlineOnly
@@ -153,28 +153,28 @@ public value class UShort @kotlin.internal.IntrinsicConstEvaluation @PublishedAp
/**
* Divides this value by the other value, flooring the result to an integer that is closer to negative infinity.
*
*
* For unsigned types, the results of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
public inline fun floorDiv(other: UByte): UInt = this.toUInt().floorDiv(other.toUInt())
/**
* Divides this value by the other value, flooring the result to an integer that is closer to negative infinity.
*
*
* For unsigned types, the results of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
public inline fun floorDiv(other: UShort): UInt = this.toUInt().floorDiv(other.toUInt())
/**
* Divides this value by the other value, flooring the result to an integer that is closer to negative infinity.
*
*
* For unsigned types, the results of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
public inline fun floorDiv(other: UInt): UInt = this.toUInt().floorDiv(other)
/**
* Divides this value by the other value, flooring the result to an integer that is closer to negative infinity.
*
*
* For unsigned types, the results of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
@@ -182,36 +182,36 @@ public value class UShort @kotlin.internal.IntrinsicConstEvaluation @PublishedAp
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*
*
* For unsigned types, the remainders of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
public inline fun mod(other: UByte): UByte = this.toUInt().mod(other.toUInt()).toUByte()
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*
*
* For unsigned types, the remainders of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
public inline fun mod(other: UShort): UShort = this.toUInt().mod(other.toUInt()).toUShort()
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*
*
* For unsigned types, the remainders of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly
public inline fun mod(other: UInt): UInt = this.toUInt().mod(other)
/**
* Calculates the remainder of flooring division of this value (dividend) by the other value (divisor).
*
*
* The result is always less than the divisor.
*
*
* For unsigned types, the remainders of flooring division and truncating division are the same.
*/
@kotlin.internal.InlineOnly