diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2021-02-01 08:13:49 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2021-02-01 08:13:49 +0200 |
commit | 9c81550ac0f386929462a200e57a1dbe0953fe10 (patch) | |
tree | 6fcefaa8bebeda5b298a2bf5a062a36b972f8e27 /awklib | |
parent | 7c12765b99d41b8842d29a0bba37794744bb6834 (diff) | |
download | egawk-9c81550ac0f386929462a200e57a1dbe0953fe10.tar.gz egawk-9c81550ac0f386929462a200e57a1dbe0953fe10.tar.bz2 egawk-9c81550ac0f386929462a200e57a1dbe0953fe10.zip |
Updates to inf/nan test programs.
Diffstat (limited to 'awklib')
-rw-r--r-- | awklib/eg/test-programs/gen-float-table.awk | 4 | ||||
-rw-r--r-- | awklib/eg/test-programs/gen-float-table.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/awklib/eg/test-programs/gen-float-table.awk b/awklib/eg/test-programs/gen-float-table.awk index c35f2dff..ea6269c3 100644 --- a/awklib/eg/test-programs/gen-float-table.awk +++ b/awklib/eg/test-programs/gen-float-table.awk @@ -50,8 +50,8 @@ BEGIN { values[i], names[k], compare[j], - the_func(values[i], compare[j]) ? - "true" : "false"); + @the_func(values[i], compare[j]) ? + "True" : "False"); } printf("\n"); } diff --git a/awklib/eg/test-programs/gen-float-table.c b/awklib/eg/test-programs/gen-float-table.c index ae1d5dd4..ba3a0d05 100644 --- a/awklib/eg/test-programs/gen-float-table.c +++ b/awklib/eg/test-programs/gen-float-table.c @@ -50,7 +50,7 @@ int main() printf("%g %s %g -> %s\n", values[i], functions[k].name, compare[j], - functions[k].func(values[i], compare[j]) ? "true" : "false"); + functions[k].func(values[i], compare[j]) ? "True" : "False"); } printf("\n"); } |