RosettaCodeData/Task/Exponentiation-operator/AWK/exponentiation-operator-2.awk
2023-07-01 13:44:08 -04:00

2 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) }'