8 lines
146 B
Text
8 lines
146 B
Text
// version 1.0.6
|
|
|
|
infix fun Double.pwr(exp: Double) = Math.pow(this, exp)
|
|
|
|
fun main(args: Array<String>) {
|
|
val d = 2.0 pwr 8.0
|
|
println(d)
|
|
}
|