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(
value: Int,
): Double {
val x = value.toDouble()
return log2(x)
}
) = log2(value.toDouble())
internal fun gcd(
a: Int,