aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/ChangeLog12
-rw-r--r--doc/gawk.info740
-rw-r--r--doc/gawk.texi16
-rw-r--r--doc/gawktexi.in16
4 files changed, 395 insertions, 389 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index c5a60fb9..e99cc828 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,9 @@
+2015-02-22 Arnold D. Robbins <arnold@skeeve.com>
+
+ * gawktexi.in: Change 'div' to 'divisor' in some examples.
+ This future-proofs against a new function in master.
+ Thanks to Antonio Giovanni Colombo for the report.
+
2015-02-20 Arnold D. Robbins <arnold@skeeve.com>
* gawktexi.in: More O'Reilly fixes. I think it's done!
@@ -74,7 +80,7 @@
2015-01-23 Arnold D. Robbins <arnold@skeeve.com>
* gawktexi.in: O'Reilly fixes.
- (Glossary): Many new entries from Antonio Giovanni Columbo.
+ (Glossary): Many new entries from Antonio Giovanni Colombo.
2015-01-21 Arnold D. Robbins <arnold@skeeve.com>
@@ -98,7 +104,7 @@
* gawktexi.in: Add one more paragraph to new foreword.
* gawktexi.in: Fix exponentiation in TeX mode. Thanks to
- Marco Curreli by way of Antonio Giovanni Columbo.
+ Marco Curreli by way of Antonio Giovanni Colombo.
* texinfo.tex: Updated.
@@ -168,7 +174,7 @@
2014-10-17 Arnold D. Robbins <arnold@skeeve.com>
* gawktexi.in: Fix date in docbook attribution for new Foreword;
- thanks to Antonio Columbo for the catch. Update latest version
+ thanks to Antonio Colombo for the catch. Update latest version
of gettext.
2014-10-15 Arnold D. Robbins <arnold@skeeve.com>
diff --git a/doc/gawk.info b/doc/gawk.info
index 6f5c0095..4a40ea6d 100644
--- a/doc/gawk.info
+++ b/doc/gawk.info
@@ -9821,12 +9821,12 @@ divisor of any integer, and also identifies prime numbers:
# find smallest divisor of num
{
num = $1
- for (div = 2; div * div <= num; div++) {
- if (num % div == 0)
+ for (divisor = 2; divisor * divisor <= num; divisor++) {
+ if (num % divisor == 0)
break
}
- if (num % div == 0)
- printf "Smallest divisor of %d is %d\n", num, div
+ if (num % divisor == 0)
+ printf "Smallest divisor of %d is %d\n", num, divisor
else
printf "%d is prime\n", num
}
@@ -9844,12 +9844,12 @@ Statement::.)
# find smallest divisor of num
{
num = $1
- for (div = 2; ; div++) {
- if (num % div == 0) {
- printf "Smallest divisor of %d is %d\n", num, div
+ for (divisor = 2; ; divisor++) {
+ if (num % divisor == 0) {
+ printf "Smallest divisor of %d is %d\n", num, divisor
break
}
- if (div * div > num) {
+ if (divisor * divisor > num) {
printf "%d is prime\n", num
break
}
@@ -34860,367 +34860,367 @@ Node: Do Statement413968
Node: For Statement415116
Node: Switch Statement418274
Node: Break Statement420656
-Node: Continue Statement422697
-Node: Next Statement424524
-Node: Nextfile Statement426905
-Node: Exit Statement429533
-Node: Built-in Variables431944
-Node: User-modified433077
-Ref: User-modified-Footnote-1440711
-Node: Auto-set440773
-Ref: Auto-set-Footnote-1454482
-Ref: Auto-set-Footnote-2454687
-Node: ARGC and ARGV454743
-Node: Pattern Action Summary458961
-Node: Arrays461394
-Node: Array Basics462723
-Node: Array Intro463567
-Ref: figure-array-elements465501
-Ref: Array Intro-Footnote-1468121
-Node: Reference to Elements468249
-Node: Assigning Elements470711
-Node: Array Example471202
-Node: Scanning an Array472961
-Node: Controlling Scanning475981
-Ref: Controlling Scanning-Footnote-1481375
-Node: Numeric Array Subscripts481691
-Node: Uninitialized Subscripts483876
-Node: Delete485493
-Ref: Delete-Footnote-1488242
-Node: Multidimensional488299
-Node: Multiscanning491396
-Node: Arrays of Arrays492985
-Node: Arrays Summary497739
-Node: Functions499830
-Node: Built-in500869
-Node: Calling Built-in501947
-Node: Numeric Functions503942
-Ref: Numeric Functions-Footnote-1508760
-Ref: Numeric Functions-Footnote-2509117
-Ref: Numeric Functions-Footnote-3509165
-Node: String Functions509437
-Ref: String Functions-Footnote-1532938
-Ref: String Functions-Footnote-2533067
-Ref: String Functions-Footnote-3533315
-Node: Gory Details533402
-Ref: table-sub-escapes535183
-Ref: table-sub-proposed536698
-Ref: table-posix-sub538060
-Ref: table-gensub-escapes539597
-Ref: Gory Details-Footnote-1540430
-Node: I/O Functions540581
-Ref: I/O Functions-Footnote-1547817
-Node: Time Functions547964
-Ref: Time Functions-Footnote-1558473
-Ref: Time Functions-Footnote-2558541
-Ref: Time Functions-Footnote-3558699
-Ref: Time Functions-Footnote-4558810
-Ref: Time Functions-Footnote-5558922
-Ref: Time Functions-Footnote-6559149
-Node: Bitwise Functions559415
-Ref: table-bitwise-ops559977
-Ref: Bitwise Functions-Footnote-1564305
-Node: Type Functions564477
-Node: I18N Functions565629
-Node: User-defined567276
-Node: Definition Syntax568081
-Ref: Definition Syntax-Footnote-1573740
-Node: Function Example573811
-Ref: Function Example-Footnote-1576732
-Node: Function Caveats576754
-Node: Calling A Function577272
-Node: Variable Scope578230
-Node: Pass By Value/Reference581223
-Node: Return Statement584720
-Node: Dynamic Typing587699
-Node: Indirect Calls588628
-Ref: Indirect Calls-Footnote-1598493
-Node: Functions Summary598621
-Node: Library Functions601323
-Ref: Library Functions-Footnote-1604931
-Ref: Library Functions-Footnote-2605074
-Node: Library Names605245
-Ref: Library Names-Footnote-1608703
-Ref: Library Names-Footnote-2608926
-Node: General Functions609012
-Node: Strtonum Function610115
-Node: Assert Function613137
-Node: Round Function616461
-Node: Cliff Random Function618002
-Node: Ordinal Functions619018
-Ref: Ordinal Functions-Footnote-1622081
-Ref: Ordinal Functions-Footnote-2622333
-Node: Join Function622544
-Ref: Join Function-Footnote-1624314
-Node: Getlocaltime Function624514
-Node: Readfile Function628258
-Node: Shell Quoting630230
-Node: Data File Management631631
-Node: Filetrans Function632263
-Node: Rewind Function636359
-Node: File Checking637745
-Ref: File Checking-Footnote-1639078
-Node: Empty Files639279
-Node: Ignoring Assigns641258
-Node: Getopt Function642808
-Ref: Getopt Function-Footnote-1654272
-Node: Passwd Functions654472
-Ref: Passwd Functions-Footnote-1663312
-Node: Group Functions663400
-Ref: Group Functions-Footnote-1671297
-Node: Walking Arrays671502
-Node: Library Functions Summary674508
-Node: Library Exercises675910
-Node: Sample Programs677190
-Node: Running Examples677960
-Node: Clones678688
-Node: Cut Program679912
-Node: Egrep Program689632
-Ref: Egrep Program-Footnote-1697135
-Node: Id Program697245
-Node: Split Program700921
-Ref: Split Program-Footnote-1704375
-Node: Tee Program704503
-Node: Uniq Program707292
-Node: Wc Program714711
-Ref: Wc Program-Footnote-1718961
-Node: Miscellaneous Programs719055
-Node: Dupword Program720268
-Node: Alarm Program722299
-Node: Translate Program727104
-Ref: Translate Program-Footnote-1731667
-Node: Labels Program731937
-Ref: Labels Program-Footnote-1735288
-Node: Word Sorting735372
-Node: History Sorting739442
-Node: Extract Program741277
-Node: Simple Sed748801
-Node: Igawk Program751871
-Ref: Igawk Program-Footnote-1766197
-Ref: Igawk Program-Footnote-2766398
-Ref: Igawk Program-Footnote-3766520
-Node: Anagram Program766635
-Node: Signature Program769696
-Node: Programs Summary770943
-Node: Programs Exercises772164
-Ref: Programs Exercises-Footnote-1776295
-Node: Advanced Features776386
-Node: Nondecimal Data778368
-Node: Array Sorting779958
-Node: Controlling Array Traversal780658
-Ref: Controlling Array Traversal-Footnote-1789024
-Node: Array Sorting Functions789142
-Ref: Array Sorting Functions-Footnote-1793028
-Node: Two-way I/O793224
-Ref: Two-way I/O-Footnote-1798169
-Ref: Two-way I/O-Footnote-2798355
-Node: TCP/IP Networking798437
-Node: Profiling801309
-Node: Advanced Features Summary809580
-Node: Internationalization811513
-Node: I18N and L10N812993
-Node: Explaining gettext813679
-Ref: Explaining gettext-Footnote-1818704
-Ref: Explaining gettext-Footnote-2818888
-Node: Programmer i18n819053
-Ref: Programmer i18n-Footnote-1823929
-Node: Translator i18n823978
-Node: String Extraction824772
-Ref: String Extraction-Footnote-1825903
-Node: Printf Ordering825989
-Ref: Printf Ordering-Footnote-1828775
-Node: I18N Portability828839
-Ref: I18N Portability-Footnote-1831295
-Node: I18N Example831358
-Ref: I18N Example-Footnote-1834161
-Node: Gawk I18N834233
-Node: I18N Summary834877
-Node: Debugger836217
-Node: Debugging837239
-Node: Debugging Concepts837680
-Node: Debugging Terms839490
-Node: Awk Debugging842062
-Node: Sample Debugging Session842968
-Node: Debugger Invocation843502
-Node: Finding The Bug844887
-Node: List of Debugger Commands851366
-Node: Breakpoint Control852698
-Node: Debugger Execution Control856375
-Node: Viewing And Changing Data859734
-Node: Execution Stack863110
-Node: Debugger Info864745
-Node: Miscellaneous Debugger Commands868790
-Node: Readline Support873791
-Node: Limitations874685
-Node: Debugging Summary876800
-Node: Arbitrary Precision Arithmetic877974
-Node: Computer Arithmetic879390
-Ref: table-numeric-ranges882989
-Ref: Computer Arithmetic-Footnote-1883513
-Node: Math Definitions883570
-Ref: table-ieee-formats886865
-Ref: Math Definitions-Footnote-1887469
-Node: MPFR features887574
-Node: FP Math Caution889245
-Ref: FP Math Caution-Footnote-1890295
-Node: Inexactness of computations890664
-Node: Inexact representation891623
-Node: Comparing FP Values892981
-Node: Errors accumulate894063
-Node: Getting Accuracy895495
-Node: Try To Round898199
-Node: Setting precision899098
-Ref: table-predefined-precision-strings899782
-Node: Setting the rounding mode901611
-Ref: table-gawk-rounding-modes901975
-Ref: Setting the rounding mode-Footnote-1905427
-Node: Arbitrary Precision Integers905606
-Ref: Arbitrary Precision Integers-Footnote-1910504
-Node: POSIX Floating Point Problems910653
-Ref: POSIX Floating Point Problems-Footnote-1914532
-Node: Floating point summary914570
-Node: Dynamic Extensions916757
-Node: Extension Intro918309
-Node: Plugin License919574
-Node: Extension Mechanism Outline920371
-Ref: figure-load-extension920799
-Ref: figure-register-new-function922279
-Ref: figure-call-new-function923283
-Node: Extension API Description925270
-Node: Extension API Functions Introduction926720
-Node: General Data Types931541
-Ref: General Data Types-Footnote-1937441
-Node: Memory Allocation Functions937740
-Ref: Memory Allocation Functions-Footnote-1940579
-Node: Constructor Functions940678
-Node: Registration Functions942417
-Node: Extension Functions943102
-Node: Exit Callback Functions945399
-Node: Extension Version String946647
-Node: Input Parsers947310
-Node: Output Wrappers957185
-Node: Two-way processors961698
-Node: Printing Messages963961
-Ref: Printing Messages-Footnote-1965037
-Node: Updating `ERRNO'965189
-Node: Requesting Values965929
-Ref: table-value-types-returned966656
-Node: Accessing Parameters967613
-Node: Symbol Table Access968847
-Node: Symbol table by name969361
-Node: Symbol table by cookie971381
-Ref: Symbol table by cookie-Footnote-1975526
-Node: Cached values975589
-Ref: Cached values-Footnote-1979085
-Node: Array Manipulation979176
-Ref: Array Manipulation-Footnote-1980274
-Node: Array Data Types980311
-Ref: Array Data Types-Footnote-1982966
-Node: Array Functions983058
-Node: Flattening Arrays986917
-Node: Creating Arrays993819
-Node: Extension API Variables998590
-Node: Extension Versioning999226
-Node: Extension API Informational Variables1001117
-Node: Extension API Boilerplate1002182
-Node: Finding Extensions1005991
-Node: Extension Example1006551
-Node: Internal File Description1007323
-Node: Internal File Ops1011390
-Ref: Internal File Ops-Footnote-11023141
-Node: Using Internal File Ops1023281
-Ref: Using Internal File Ops-Footnote-11025664
-Node: Extension Samples1025937
-Node: Extension Sample File Functions1027465
-Node: Extension Sample Fnmatch1035146
-Node: Extension Sample Fork1036634
-Node: Extension Sample Inplace1037849
-Node: Extension Sample Ord1039525
-Node: Extension Sample Readdir1040361
-Ref: table-readdir-file-types1041238
-Node: Extension Sample Revout1042049
-Node: Extension Sample Rev2way1042638
-Node: Extension Sample Read write array1043378
-Node: Extension Sample Readfile1045318
-Node: Extension Sample Time1046413
-Node: Extension Sample API Tests1047761
-Node: gawkextlib1048252
-Node: Extension summary1050930
-Node: Extension Exercises1054619
-Node: Language History1055341
-Node: V7/SVR3.11056997
-Node: SVR41059150
-Node: POSIX1060584
-Node: BTL1061965
-Node: POSIX/GNU1062696
-Node: Feature History1068441
-Node: Common Extensions1082167
-Node: Ranges and Locales1083539
-Ref: Ranges and Locales-Footnote-11088158
-Ref: Ranges and Locales-Footnote-21088185
-Ref: Ranges and Locales-Footnote-31088420
-Node: Contributors1088641
-Node: History summary1094181
-Node: Installation1095560
-Node: Gawk Distribution1096506
-Node: Getting1096990
-Node: Extracting1097813
-Node: Distribution contents1099450
-Node: Unix Installation1105552
-Node: Quick Installation1106235
-Node: Shell Startup Files1108646
-Node: Additional Configuration Options1109725
-Node: Configuration Philosophy1111529
-Node: Non-Unix Installation1113898
-Node: PC Installation1114356
-Node: PC Binary Installation1115676
-Node: PC Compiling1117524
-Ref: PC Compiling-Footnote-11120545
-Node: PC Testing1120654
-Node: PC Using1121830
-Node: Cygwin1125945
-Node: MSYS1126715
-Node: VMS Installation1127216
-Node: VMS Compilation1128008
-Ref: VMS Compilation-Footnote-11129237
-Node: VMS Dynamic Extensions1129295
-Node: VMS Installation Details1130979
-Node: VMS Running1133230
-Node: VMS GNV1136070
-Node: VMS Old Gawk1136805
-Node: Bugs1137275
-Node: Other Versions1141164
-Node: Installation summary1147598
-Node: Notes1148657
-Node: Compatibility Mode1149522
-Node: Additions1150304
-Node: Accessing The Source1151229
-Node: Adding Code1152664
-Node: New Ports1158821
-Node: Derived Files1163303
-Ref: Derived Files-Footnote-11168778
-Ref: Derived Files-Footnote-21168812
-Ref: Derived Files-Footnote-31169408
-Node: Future Extensions1169522
-Node: Implementation Limitations1170128
-Node: Extension Design1171376
-Node: Old Extension Problems1172530
-Ref: Old Extension Problems-Footnote-11174047
-Node: Extension New Mechanism Goals1174104
-Ref: Extension New Mechanism Goals-Footnote-11177464
-Node: Extension Other Design Decisions1177653
-Node: Extension Future Growth1179761
-Node: Old Extension Mechanism1180597
-Node: Notes summary1182359
-Node: Basic Concepts1183545
-Node: Basic High Level1184226
-Ref: figure-general-flow1184498
-Ref: figure-process-flow1185097
-Ref: Basic High Level-Footnote-11188326
-Node: Basic Data Typing1188511
-Node: Glossary1191839
-Node: Copying1223768
-Node: GNU Free Documentation License1261324
-Node: Index1286460
+Node: Continue Statement422749
+Node: Next Statement424576
+Node: Nextfile Statement426957
+Node: Exit Statement429585
+Node: Built-in Variables431996
+Node: User-modified433129
+Ref: User-modified-Footnote-1440763
+Node: Auto-set440825
+Ref: Auto-set-Footnote-1454534
+Ref: Auto-set-Footnote-2454739
+Node: ARGC and ARGV454795
+Node: Pattern Action Summary459013
+Node: Arrays461446
+Node: Array Basics462775
+Node: Array Intro463619
+Ref: figure-array-elements465553
+Ref: Array Intro-Footnote-1468173
+Node: Reference to Elements468301
+Node: Assigning Elements470763
+Node: Array Example471254
+Node: Scanning an Array473013
+Node: Controlling Scanning476033
+Ref: Controlling Scanning-Footnote-1481427
+Node: Numeric Array Subscripts481743
+Node: Uninitialized Subscripts483928
+Node: Delete485545
+Ref: Delete-Footnote-1488294
+Node: Multidimensional488351
+Node: Multiscanning491448
+Node: Arrays of Arrays493037
+Node: Arrays Summary497791
+Node: Functions499882
+Node: Built-in500921
+Node: Calling Built-in501999
+Node: Numeric Functions503994
+Ref: Numeric Functions-Footnote-1508812
+Ref: Numeric Functions-Footnote-2509169
+Ref: Numeric Functions-Footnote-3509217
+Node: String Functions509489
+Ref: String Functions-Footnote-1532990
+Ref: String Functions-Footnote-2533119
+Ref: String Functions-Footnote-3533367
+Node: Gory Details533454
+Ref: table-sub-escapes535235
+Ref: table-sub-proposed536750
+Ref: table-posix-sub538112
+Ref: table-gensub-escapes539649
+Ref: Gory Details-Footnote-1540482
+Node: I/O Functions540633
+Ref: I/O Functions-Footnote-1547869
+Node: Time Functions548016
+Ref: Time Functions-Footnote-1558525
+Ref: Time Functions-Footnote-2558593
+Ref: Time Functions-Footnote-3558751
+Ref: Time Functions-Footnote-4558862
+Ref: Time Functions-Footnote-5558974
+Ref: Time Functions-Footnote-6559201
+Node: Bitwise Functions559467
+Ref: table-bitwise-ops560029
+Ref: Bitwise Functions-Footnote-1564357
+Node: Type Functions564529
+Node: I18N Functions565681
+Node: User-defined567328
+Node: Definition Syntax568133
+Ref: Definition Syntax-Footnote-1573792
+Node: Function Example573863
+Ref: Function Example-Footnote-1576784
+Node: Function Caveats576806
+Node: Calling A Function577324
+Node: Variable Scope578282
+Node: Pass By Value/Reference581275
+Node: Return Statement584772
+Node: Dynamic Typing587751
+Node: Indirect Calls588680
+Ref: Indirect Calls-Footnote-1598545
+Node: Functions Summary598673
+Node: Library Functions601375
+Ref: Library Functions-Footnote-1604983
+Ref: Library Functions-Footnote-2605126
+Node: Library Names605297
+Ref: Library Names-Footnote-1608755
+Ref: Library Names-Footnote-2608978
+Node: General Functions609064
+Node: Strtonum Function610167
+Node: Assert Function613189
+Node: Round Function616513
+Node: Cliff Random Function618054
+Node: Ordinal Functions619070
+Ref: Ordinal Functions-Footnote-1622133
+Ref: Ordinal Functions-Footnote-2622385
+Node: Join Function622596
+Ref: Join Function-Footnote-1624366
+Node: Getlocaltime Function624566
+Node: Readfile Function628310
+Node: Shell Quoting630282
+Node: Data File Management631683
+Node: Filetrans Function632315
+Node: Rewind Function636411
+Node: File Checking637797
+Ref: File Checking-Footnote-1639130
+Node: Empty Files639331
+Node: Ignoring Assigns641310
+Node: Getopt Function642860
+Ref: Getopt Function-Footnote-1654324
+Node: Passwd Functions654524
+Ref: Passwd Functions-Footnote-1663364
+Node: Group Functions663452
+Ref: Group Functions-Footnote-1671349
+Node: Walking Arrays671554
+Node: Library Functions Summary674560
+Node: Library Exercises675962
+Node: Sample Programs677242
+Node: Running Examples678012
+Node: Clones678740
+Node: Cut Program679964
+Node: Egrep Program689684
+Ref: Egrep Program-Footnote-1697187
+Node: Id Program697297
+Node: Split Program700973
+Ref: Split Program-Footnote-1704427
+Node: Tee Program704555
+Node: Uniq Program707344
+Node: Wc Program714763
+Ref: Wc Program-Footnote-1719013
+Node: Miscellaneous Programs719107
+Node: Dupword Program720320
+Node: Alarm Program722351
+Node: Translate Program727156
+Ref: Translate Program-Footnote-1731719
+Node: Labels Program731989
+Ref: Labels Program-Footnote-1735340
+Node: Word Sorting735424
+Node: History Sorting739494
+Node: Extract Program741329
+Node: Simple Sed748853
+Node: Igawk Program751923
+Ref: Igawk Program-Footnote-1766249
+Ref: Igawk Program-Footnote-2766450
+Ref: Igawk Program-Footnote-3766572
+Node: Anagram Program766687
+Node: Signature Program769748
+Node: Programs Summary770995
+Node: Programs Exercises772216
+Ref: Programs Exercises-Footnote-1776347
+Node: Advanced Features776438
+Node: Nondecimal Data778420
+Node: Array Sorting780010
+Node: Controlling Array Traversal780710
+Ref: Controlling Array Traversal-Footnote-1789076
+Node: Array Sorting Functions789194
+Ref: Array Sorting Functions-Footnote-1793080
+Node: Two-way I/O793276
+Ref: Two-way I/O-Footnote-1798221
+Ref: Two-way I/O-Footnote-2798407
+Node: TCP/IP Networking798489
+Node: Profiling801361
+Node: Advanced Features Summary809632
+Node: Internationalization811565
+Node: I18N and L10N813045
+Node: Explaining gettext813731
+Ref: Explaining gettext-Footnote-1818756
+Ref: Explaining gettext-Footnote-2818940
+Node: Programmer i18n819105
+Ref: Programmer i18n-Footnote-1823981
+Node: Translator i18n824030
+Node: String Extraction824824
+Ref: String Extraction-Footnote-1825955
+Node: Printf Ordering826041
+Ref: Printf Ordering-Footnote-1828827
+Node: I18N Portability828891
+Ref: I18N Portability-Footnote-1831347
+Node: I18N Example831410
+Ref: I18N Example-Footnote-1834213
+Node: Gawk I18N834285
+Node: I18N Summary834929
+Node: Debugger836269
+Node: Debugging837291
+Node: Debugging Concepts837732
+Node: Debugging Terms839542
+Node: Awk Debugging842114
+Node: Sample Debugging Session843020
+Node: Debugger Invocation843554
+Node: Finding The Bug844939
+Node: List of Debugger Commands851418
+Node: Breakpoint Control852750
+Node: Debugger Execution Control856427
+Node: Viewing And Changing Data859786
+Node: Execution Stack863162
+Node: Debugger Info864797
+Node: Miscellaneous Debugger Commands868842
+Node: Readline Support873843
+Node: Limitations874737
+Node: Debugging Summary876852
+Node: Arbitrary Precision Arithmetic878026
+Node: Computer Arithmetic879442
+Ref: table-numeric-ranges883041
+Ref: Computer Arithmetic-Footnote-1883565
+Node: Math Definitions883622
+Ref: table-ieee-formats886917
+Ref: Math Definitions-Footnote-1887521
+Node: MPFR features887626
+Node: FP Math Caution889297
+Ref: FP Math Caution-Footnote-1890347
+Node: Inexactness of computations890716
+Node: Inexact representation891675
+Node: Comparing FP Values893033
+Node: Errors accumulate894115
+Node: Getting Accuracy895547
+Node: Try To Round898251
+Node: Setting precision899150
+Ref: table-predefined-precision-strings899834
+Node: Setting the rounding mode901663
+Ref: table-gawk-rounding-modes902027
+Ref: Setting the rounding mode-Footnote-1905479
+Node: Arbitrary Precision Integers905658
+Ref: Arbitrary Precision Integers-Footnote-1910556
+Node: POSIX Floating Point Problems910705
+Ref: POSIX Floating Point Problems-Footnote-1914584
+Node: Floating point summary914622
+Node: Dynamic Extensions916809
+Node: Extension Intro918361
+Node: Plugin License919626
+Node: Extension Mechanism Outline920423
+Ref: figure-load-extension920851
+Ref: figure-register-new-function922331
+Ref: figure-call-new-function923335
+Node: Extension API Description925322
+Node: Extension API Functions Introduction926772
+Node: General Data Types931593
+Ref: General Data Types-Footnote-1937493
+Node: Memory Allocation Functions937792
+Ref: Memory Allocation Functions-Footnote-1940631
+Node: Constructor Functions940730
+Node: Registration Functions942469
+Node: Extension Functions943154
+Node: Exit Callback Functions945451
+Node: Extension Version String946699
+Node: Input Parsers947362
+Node: Output Wrappers957237
+Node: Two-way processors961750
+Node: Printing Messages964013
+Ref: Printing Messages-Footnote-1965089
+Node: Updating `ERRNO'965241
+Node: Requesting Values965981
+Ref: table-value-types-returned966708
+Node: Accessing Parameters967665
+Node: Symbol Table Access968899
+Node: Symbol table by name969413
+Node: Symbol table by cookie971433
+Ref: Symbol table by cookie-Footnote-1975578
+Node: Cached values975641
+Ref: Cached values-Footnote-1979137
+Node: Array Manipulation979228
+Ref: Array Manipulation-Footnote-1980326
+Node: Array Data Types980363
+Ref: Array Data Types-Footnote-1983018
+Node: Array Functions983110
+Node: Flattening Arrays986969
+Node: Creating Arrays993871
+Node: Extension API Variables998642
+Node: Extension Versioning999278
+Node: Extension API Informational Variables1001169
+Node: Extension API Boilerplate1002234
+Node: Finding Extensions1006043
+Node: Extension Example1006603
+Node: Internal File Description1007375
+Node: Internal File Ops1011442
+Ref: Internal File Ops-Footnote-11023193
+Node: Using Internal File Ops1023333
+Ref: Using Internal File Ops-Footnote-11025716
+Node: Extension Samples1025989
+Node: Extension Sample File Functions1027517
+Node: Extension Sample Fnmatch1035198
+Node: Extension Sample Fork1036686
+Node: Extension Sample Inplace1037901
+Node: Extension Sample Ord1039577
+Node: Extension Sample Readdir1040413
+Ref: table-readdir-file-types1041290
+Node: Extension Sample Revout1042101
+Node: Extension Sample Rev2way1042690
+Node: Extension Sample Read write array1043430
+Node: Extension Sample Readfile1045370
+Node: Extension Sample Time1046465
+Node: Extension Sample API Tests1047813
+Node: gawkextlib1048304
+Node: Extension summary1050982
+Node: Extension Exercises1054671
+Node: Language History1055393
+Node: V7/SVR3.11057049
+Node: SVR41059202
+Node: POSIX1060636
+Node: BTL1062017
+Node: POSIX/GNU1062748
+Node: Feature History1068493
+Node: Common Extensions1082219
+Node: Ranges and Locales1083591
+Ref: Ranges and Locales-Footnote-11088210
+Ref: Ranges and Locales-Footnote-21088237
+Ref: Ranges and Locales-Footnote-31088472
+Node: Contributors1088693
+Node: History summary1094233
+Node: Installation1095612
+Node: Gawk Distribution1096558
+Node: Getting1097042
+Node: Extracting1097865
+Node: Distribution contents1099502
+Node: Unix Installation1105604
+Node: Quick Installation1106287
+Node: Shell Startup Files1108698
+Node: Additional Configuration Options1109777
+Node: Configuration Philosophy1111581
+Node: Non-Unix Installation1113950
+Node: PC Installation1114408
+Node: PC Binary Installation1115728
+Node: PC Compiling1117576
+Ref: PC Compiling-Footnote-11120597
+Node: PC Testing1120706
+Node: PC Using1121882
+Node: Cygwin1125997
+Node: MSYS1126767
+Node: VMS Installation1127268
+Node: VMS Compilation1128060
+Ref: VMS Compilation-Footnote-11129289
+Node: VMS Dynamic Extensions1129347
+Node: VMS Installation Details1131031
+Node: VMS Running1133282
+Node: VMS GNV1136122
+Node: VMS Old Gawk1136857
+Node: Bugs1137327
+Node: Other Versions1141216
+Node: Installation summary1147650
+Node: Notes1148709
+Node: Compatibility Mode1149574
+Node: Additions1150356
+Node: Accessing The Source1151281
+Node: Adding Code1152716
+Node: New Ports1158873
+Node: Derived Files1163355
+Ref: Derived Files-Footnote-11168830
+Ref: Derived Files-Footnote-21168864
+Ref: Derived Files-Footnote-31169460
+Node: Future Extensions1169574
+Node: Implementation Limitations1170180
+Node: Extension Design1171428
+Node: Old Extension Problems1172582
+Ref: Old Extension Problems-Footnote-11174099
+Node: Extension New Mechanism Goals1174156
+Ref: Extension New Mechanism Goals-Footnote-11177516
+Node: Extension Other Design Decisions1177705
+Node: Extension Future Growth1179813
+Node: Old Extension Mechanism1180649
+Node: Notes summary1182411
+Node: Basic Concepts1183597
+Node: Basic High Level1184278
+Ref: figure-general-flow1184550
+Ref: figure-process-flow1185149
+Ref: Basic High Level-Footnote-11188378
+Node: Basic Data Typing1188563
+Node: Glossary1191891
+Node: Copying1223820
+Node: GNU Free Documentation License1261376
+Node: Index1286512

End Tag Table
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 7c0171da..2d0da0cd 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -14125,12 +14125,12 @@ numbers:
# find smallest divisor of num
@{
num = $1
- for (div = 2; div * div <= num; div++) @{
- if (num % div == 0)
+ for (divisor = 2; divisor * divisor <= num; divisor++) @{
+ if (num % divisor == 0)
break
@}
- if (num % div == 0)
- printf "Smallest divisor of %d is %d\n", num, div
+ if (num % divisor == 0)
+ printf "Smallest divisor of %d is %d\n", num, divisor
else
printf "%d is prime\n", num
@}
@@ -14151,12 +14151,12 @@ an @code{if}:
# find smallest divisor of num
@{
num = $1
- for (div = 2; ; div++) @{
- if (num % div == 0) @{
- printf "Smallest divisor of %d is %d\n", num, div
+ for (divisor = 2; ; divisor++) @{
+ if (num % divisor == 0) @{
+ printf "Smallest divisor of %d is %d\n", num, divisor
break
@}
- if (div * div > num) @{
+ if (divisor * divisor > num) @{
printf "%d is prime\n", num
break
@}
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index a7b01dc7..a4a64c31 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -13453,12 +13453,12 @@ numbers:
# find smallest divisor of num
@{
num = $1
- for (div = 2; div * div <= num; div++) @{
- if (num % div == 0)
+ for (divisor = 2; divisor * divisor <= num; divisor++) @{
+ if (num % divisor == 0)
break
@}
- if (num % div == 0)
- printf "Smallest divisor of %d is %d\n", num, div
+ if (num % divisor == 0)
+ printf "Smallest divisor of %d is %d\n", num, divisor
else
printf "%d is prime\n", num
@}
@@ -13479,12 +13479,12 @@ an @code{if}:
# find smallest divisor of num
@{
num = $1
- for (div = 2; ; div++) @{
- if (num % div == 0) @{
- printf "Smallest divisor of %d is %d\n", num, div
+ for (divisor = 2; ; divisor++) @{
+ if (num % divisor == 0) @{
+ printf "Smallest divisor of %d is %d\n", num, divisor
break
@}
- if (div * div > num) @{
+ if (divisor * divisor > num) @{
printf "%d is prime\n", num
break
@}