We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
inline
inline if
inline def power(x: Double, inline n: Int): Double = // ^^^^^^ declaration // ^^^^^^ declaration inline if (n == 0) 1.0 // ^^^^^^ control flow else inline if (n % 2 == 1) x * power(x, n - 1) // ^^^^^^ control flow else power(x * x, n / 2)
Similar for inline x match
inline x match