RosettaCodeData/Task/Exponentiation-operator/J/exponentiation-operator-3.j

7 lines
67 B
Text
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
exp =: dyad def 'x *^:y 1'
10 exp 3
1000
10 exp _3
0.001