diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2018-04-02 16:37:17 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2018-04-02 16:37:17 +0300 |
commit | 0742fa4072e894ba08babcc5c699bc0f48841ed3 (patch) | |
tree | 355071e65d6af3ebf23db457ef6345b38e9751c9 /test/mpfrfield.awk | |
parent | f933fc9f8a05cf51fe94fc1ed24dc2a1586af42c (diff) | |
download | egawk-0742fa4072e894ba08babcc5c699bc0f48841ed3.tar.gz egawk-0742fa4072e894ba08babcc5c699bc0f48841ed3.tar.bz2 egawk-0742fa4072e894ba08babcc5c699bc0f48841ed3.zip |
Copy MPZ/MPFR bits also, in r_dupnode.
Diffstat (limited to 'test/mpfrfield.awk')
-rw-r--r-- | test/mpfrfield.awk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/mpfrfield.awk b/test/mpfrfield.awk new file mode 100644 index 00000000..35a97b70 --- /dev/null +++ b/test/mpfrfield.awk @@ -0,0 +1,14 @@ +#! /bin/gawk -Mf + +NR == 1 { + min = $1 +} + +{ + if ($1 < min) + min = $1 +} + +END { + print "min", min +} |