commit | 1390a010b60cbb5adad4e4c56a3613122b4298c6 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Sat Jul 20 21:23:01 2013 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Sat Jul 20 21:23:01 2013 +0200 |
tree | 96affea1bd133da45e4654bb6743a588e1043ec1 | |
parent | 5e87e8aebb60bc87d3dd6e07814c7c3b0e8dbbb2 [diff] |
awk: use "long long" as integer type, not "int" Testcase: awk "BEGIN{n=(2^31)-1; print n, int(n), n%1, ++n, int(n), n%1}" 2147483647 2147483647 0 2147483648 2147483648 0 (last three values weren't showing right) function old new delta evaluate 3444 3458 +14 fmt_num 221 230 +9 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>