File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
core/src/main/kotlin/io/github/rothes/esu/core/util/extension/math Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ package io.github.rothes.esu.core.util.extension.math
44
55import kotlin.math.floor
66
7- inline fun Int.square (): Int = this * this
8- inline fun Long.square (): Long = this * this
9- inline fun Float.square (): Float = this * this
10- inline fun Double.square (): Double = this * this
7+ fun Int.square (): Int = this * this
8+ fun Long.square (): Long = this * this
9+ fun Float.square (): Float = this * this
10+ fun Double.square (): Double = this * this
1111
12- inline fun Float.floorI (): Int = floor(this .toDouble()).toInt()
13- inline fun Double.floorI (): Int = floor(this ).toInt()
12+ fun Float.floorI (): Int = floor(this .toDouble()).toInt()
13+ fun Double.floorI (): Int = floor(this ).toInt()
You can’t perform that action at this time.
0 commit comments