aboutsummaryrefslogtreecommitdiffstats
path: root/awklib
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2021-02-01 08:13:49 +0200
committerArnold D. Robbins <arnold@skeeve.com>2021-02-01 08:13:49 +0200
commit9c81550ac0f386929462a200e57a1dbe0953fe10 (patch)
tree6fcefaa8bebeda5b298a2bf5a062a36b972f8e27 /awklib
parent7c12765b99d41b8842d29a0bba37794744bb6834 (diff)
downloadegawk-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.awk4
-rw-r--r--awklib/eg/test-programs/gen-float-table.c2
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");
}