small refactor
This commit is contained in:
@@ -4,10 +4,7 @@ import kotlin.math.log2
|
||||
|
||||
internal fun log2(
|
||||
value: Int,
|
||||
): Double {
|
||||
val x = value.toDouble()
|
||||
return log2(x)
|
||||
}
|
||||
) = log2(value.toDouble())
|
||||
|
||||
internal fun gcd(
|
||||
a: Int,
|
||||
|
||||
Reference in New Issue
Block a user