RosettaCodeData/Task/Exponentiation-operator/AWK/exponentiation-operator-2.awk

3 lines
135 B
Awk

If you want to use arbitrary precision number with (more recent) awk, you have to use -M option :
$ gawk -M '{ printf("%f\n",$1^$2) }'