Best practices for top-level declarations

The idiomatic Kotlin way to express that would be import kotlin.math.saturated.pow. Since the Kotlin package structure doesn’t have to match directory structure, there is no issue with creating packages containing a single file - you don’t need to put each of these files into a separate directory.

3 Likes