ubuntu-buildroot/output/build/host-gawk-5.2.0/test/mpfrsort.awk

9 lines
201 B
Awk
Raw Normal View History

2024-04-01 15:19:46 +00:00
BEGIN {
# s = "1.0 +nan 0.0 -1 +inf -0.0 1 nan 1.0 -nan -inf 2.0"
s = "1.0 +nan 0.0 -1 +inf -0.0 1 1.0 -nan -inf 2.0"
split(s, a)
PROCINFO["sorted_in"] = "@val_num_asc"
for (i in a)
print a[i]
}