small refactor

This commit is contained in:
Infendro committed 2025-10-03 12:07:51 +02:00
1 parent 4042a8e086
commit 5b96f19eef
1 file changed
+1 -4
@@ -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,