aboutsummaryrefslogtreecommitdiffstats
path: root/test/numrange.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-06-27 20:18:46 +0300
committerArnold D. Robbins <arnold@skeeve.com>2018-06-27 20:18:46 +0300
commit4a4af3ea7690f380f29b99c59219421ef979e343 (patch)
tree12bbdbe87369e7f13e482d9a016b188907c05316 /test/numrange.awk
parent7f57d12c835729207aea12e22021efce1705e6a0 (diff)
parentffea4491ee78863f024b34106514b282e281576b (diff)
downloadegawk-4a4af3ea7690f380f29b99c59219421ef979e343.tar.gz
egawk-4a4af3ea7690f380f29b99c59219421ef979e343.tar.bz2
egawk-4a4af3ea7690f380f29b99c59219421ef979e343.zip
Merge branch 'gawk-4.2-stable'
Diffstat (limited to 'test/numrange.awk')
-rw-r--r--test/numrange.awk5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/numrange.awk b/test/numrange.awk
new file mode 100644
index 00000000..3ad2cab5
--- /dev/null
+++ b/test/numrange.awk
@@ -0,0 +1,5 @@
+BEGIN {
+ n = split("-1.2e+931 1.2e+931", a)
+ for (i=1; i<=n; ++i)
+ print a[i], +a[i]
+}