"Fossies" - the Fresh Open Source Software Archive

Member "gawk-5.1.0/test/numrange.awk" (6 Feb 2020, 111 Bytes) of package /linux/misc/gawk-5.1.0.tar.xz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) (G)AWK source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "numrange.awk": 5.0.1_vs_5.1.0.

    1 BEGIN {
    2     n = split("-1.2e+931 1.2e+931", a)
    3     for (i = 1; i <= n; ++i)
    4         print a[i], +a[i], -a[i]
    5 }