diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-10-01 22:11:30 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-10-01 22:11:30 +0300 |
commit | 6776d0066ac3bd96228fe6fc98395023562e29d7 (patch) | |
tree | 0c343ab28d37d155229fb73eaff91691e9e2f278 /awklib/eg | |
parent | dff88ee5892900fe96fa0601f1489c6207bbbaf6 (diff) | |
download | gawk-6776d0066ac3bd96228fe6fc98395023562e29d7.tar.gz |
Manual updates from Antonio, mainly URL fixes.
Diffstat (limited to 'awklib/eg')
-rw-r--r-- | awklib/eg/prog/anagram.awk | 2 | ||||
-rw-r--r-- | awklib/eg/prog/pi.awk | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/awklib/eg/prog/anagram.awk b/awklib/eg/prog/anagram.awk index df2768d9..4c2ce1fd 100644 --- a/awklib/eg/prog/anagram.awk +++ b/awklib/eg/prog/anagram.awk @@ -9,7 +9,7 @@ # - split() with "" as separator splits out individual characters # - asort() and asorti() functions # -# See http://savannah.gnu.org/projects/gawk. +# See https://savannah.gnu.org/projects/gawk. # # Arnold Robbins # arnold@skeeve.com diff --git a/awklib/eg/prog/pi.awk b/awklib/eg/prog/pi.awk index e1b5bc4f..91060db9 100644 --- a/awklib/eg/prog/pi.awk +++ b/awklib/eg/prog/pi.awk @@ -10,7 +10,7 @@ BEGIN { for (m = digits * 4; m > 0; --m) { d = m * 2 + 1 x = pi * m - intdiv(x, d, result) + intdiv0(x, d, result) pi = result["quotient"] pi = pi + two } |