mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Improve help files
Minor improvement of various help files. Made format of help files more consistent.
This commit is contained in:
16
help/epsilon
16
help/epsilon
@@ -23,7 +23,7 @@ EXAMPLE
|
||||
; epsilon(1e-20),;
|
||||
; oldeps = epsilon(1e-6)
|
||||
; print epsilon(), sqrt(2), epsilon(1e-4), sqrt(2), epsilon(oldeps)
|
||||
; .000001 1.414214 .000001 1.4142 .0001
|
||||
; 0.000001 1.414214 0.000001 1.4142 0.0001
|
||||
|
||||
; /*
|
||||
* NOTE: When displaying many digits after the decimal point
|
||||
@@ -35,7 +35,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),;
|
||||
; printf("%f\n", pi(1e-10));
|
||||
3.1415926536
|
||||
@@ -43,7 +44,8 @@ EXAMPLE
|
||||
; printf("%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),;
|
||||
; printf("%f\n", pi(1e-72));
|
||||
~3.141592653590
|
||||
@@ -51,7 +53,8 @@ EXAMPLE
|
||||
; printf("%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),;
|
||||
; printf("%f\n", pi(1e-10));
|
||||
3.1415926536
|
||||
@@ -59,7 +62,8 @@ EXAMPLE
|
||||
; printf("%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),;
|
||||
; printf("%f\n", pi(1e-72));
|
||||
3.141592653589793238462643383279502884197169399375105820974944592307816406
|
||||
@@ -77,7 +81,7 @@ LINK LIBRARY
|
||||
SEE ALSO
|
||||
config, display, fprintf, printf, strprintf
|
||||
|
||||
## Copyright (C) 1999,2018 Landon Curt Noll
|
||||
## Copyright (C) 1999,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
|
||||
|
Reference in New Issue
Block a user