small refactor

This commit is contained in:
2025-10-03 12:07:51 +02:00
parent 4042a8e086
commit 5b96f19eef

View File

@@ -4,10 +4,7 @@ import kotlin.math.log2
internal fun log2( internal fun log2(
value: Int, value: Int,
): Double { ) = log2(value.toDouble())
val x = value.toDouble()
return log2(x)
}
internal fun gcd( internal fun gcd(
a: Int, a: Int,