Improve help files

Minor improvement of various help files.  Made format of help
files more consistent.
This commit is contained in:
Landon Curt Noll
2021-12-05 23:02:12 -08:00
parent de47c960d3
commit a28edba4e9
91 changed files with 284 additions and 275 deletions

View File

@@ -35,7 +35,7 @@ EXAMPLE
mat [4] (4 elements, 4 nonzero):
[0] = 1.4142135623730950488
[1] = ~.42857142857142857142
[1] = ~0.42857142857142857142
[2] = "undefined"
[3] = NULL
@@ -55,7 +55,8 @@ EXAMPLE
*/
; config("tilde", 1),;
; /* NOTE: display has too few digits and epsilon is not small enough */
; ## NOTE: display has too few digits and epsilon is not small enough
; display(12),;
; fprintf(files(1), "%f\n", pi(1e-10));
3.1415926536
@@ -63,7 +64,8 @@ EXAMPLE
; fprintf(files(1), "%f\n", pi());
3.1415926536
; /* NOTE: display has too few digits yet epsilon is small enough */
; ## NOTE: display has too few digits yet epsilon is small enough
; display(12),;
; fprintf(files(1), "%f\n", pi(1e-72));
~3.141592653590
@@ -71,7 +73,8 @@ EXAMPLE
; fprintf(files(1), "%f\n", pi());
~3.141592653590
; /* NOTE: display has enough digits but epsilon is not small enough */
; ## NOTE: display has enough digits but epsilon is not small enough
; display(72),;
; fprintf(files(1), "%f\n", pi(1e-10));
3.1415926536
@@ -79,7 +82,8 @@ EXAMPLE
; fprintf(files(1), "%f\n", pi());
3.1415926536
/* NOTE: display has enough digits and epsilon is small enough */
; ## NOTE: display has enough digits and epsilon is small enough
; display(72),;
; fprintf(files(1), "%f\n", pi(1e-72));
3.141592653589793238462643383279502884197169399375105820974944592307816406
@@ -96,7 +100,7 @@ LINK LIBRARY
SEE ALSO
config, display, epsilon, printf, strprintf
## Copyright (C) 1999-2006,2018 Landon Curt Noll
## Copyright (C) 1999-2006,2018,2021 Landon Curt Noll
##
## Calc is open software; you can redistribute it and/or modify it under
## the terms of the version 2.1 of the GNU Lesser General Public License