[K/N] Fix Floating.toInt/toLong doc
This commit is contained in:
@@ -1573,7 +1573,7 @@ public final class Float private constructor() : Number(), Comparable<Float> {
|
|||||||
/**
|
/**
|
||||||
* Converts this [Float] value to [Int].
|
* Converts this [Float] value to [Int].
|
||||||
*
|
*
|
||||||
* The fractional part, if any, is rounded down.
|
* The fractional part, if any, is rounded down towards zero.
|
||||||
* Returns zero if this `Float` value is `NaN`, [Int.MIN_VALUE] if it's less than `Int.MIN_VALUE`,
|
* Returns zero if this `Float` value is `NaN`, [Int.MIN_VALUE] if it's less than `Int.MIN_VALUE`,
|
||||||
* [Int.MAX_VALUE] if it's bigger than `Int.MAX_VALUE`.
|
* [Int.MAX_VALUE] if it's bigger than `Int.MAX_VALUE`.
|
||||||
*/
|
*/
|
||||||
@@ -1582,7 +1582,7 @@ public final class Float private constructor() : Number(), Comparable<Float> {
|
|||||||
/**
|
/**
|
||||||
* Converts this [Float] value to [Long].
|
* Converts this [Float] value to [Long].
|
||||||
*
|
*
|
||||||
* The fractional part, if any, is rounded down.
|
* The fractional part, if any, is rounded down towards zero.
|
||||||
* Returns zero if this `Float` value is `NaN`, [Long.MIN_VALUE] if it's less than `Long.MIN_VALUE`,
|
* Returns zero if this `Float` value is `NaN`, [Long.MIN_VALUE] if it's less than `Long.MIN_VALUE`,
|
||||||
* [Long.MAX_VALUE] if it's bigger than `Long.MAX_VALUE`.
|
* [Long.MAX_VALUE] if it's bigger than `Long.MAX_VALUE`.
|
||||||
*/
|
*/
|
||||||
@@ -1883,7 +1883,7 @@ public final class Double private constructor() : Number(), Comparable<Double> {
|
|||||||
/**
|
/**
|
||||||
* Converts this [Double] value to [Int].
|
* Converts this [Double] value to [Int].
|
||||||
*
|
*
|
||||||
* The fractional part, if any, is rounded down.
|
* The fractional part, if any, is rounded down towards zero.
|
||||||
* Returns zero if this `Double` value is `NaN`, [Int.MIN_VALUE] if it's less than `Int.MIN_VALUE`,
|
* Returns zero if this `Double` value is `NaN`, [Int.MIN_VALUE] if it's less than `Int.MIN_VALUE`,
|
||||||
* [Int.MAX_VALUE] if it's bigger than `Int.MAX_VALUE`.
|
* [Int.MAX_VALUE] if it's bigger than `Int.MAX_VALUE`.
|
||||||
*/
|
*/
|
||||||
@@ -1892,7 +1892,7 @@ public final class Double private constructor() : Number(), Comparable<Double> {
|
|||||||
/**
|
/**
|
||||||
* Converts this [Double] value to [Long].
|
* Converts this [Double] value to [Long].
|
||||||
*
|
*
|
||||||
* The fractional part, if any, is rounded down.
|
* The fractional part, if any, is rounded down towards zero.
|
||||||
* Returns zero if this `Double` value is `NaN`, [Long.MIN_VALUE] if it's less than `Long.MIN_VALUE`,
|
* Returns zero if this `Double` value is `NaN`, [Long.MIN_VALUE] if it's less than `Long.MIN_VALUE`,
|
||||||
* [Long.MAX_VALUE] if it's bigger than `Long.MAX_VALUE`.
|
* [Long.MAX_VALUE] if it's bigger than `Long.MAX_VALUE`.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user