// version 1.0.6 infix fun Double.pwr(exp: Double) = Math.pow(this, exp) fun main(args: Array) { val d = 2.0 pwr 8.0 println(d) }