"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "calc.man" between
calc-2.12.7.2.tar.bz2 and calc-2.12.7.6.tar.bz2

About: Calc is a C-style arbitrary precision calculator.

calc.man  (calc-2.12.7.2.tar.bz2):calc.man  (calc-2.12.7.6.tar.bz2)
skipping to change at line 12 skipping to change at line 12
NAME NAME
calc - arbitrary precision calculator calc - arbitrary precision calculator
SYNOPSIS SYNOPSIS
calc [-c] [-C] [-d] calc [-c] [-C] [-d]
[-D calc_debug[:resource_debug[:user_debug]]] [-D calc_debug[:resource_debug[:user_debug]]]
[-e] [-h] [-i] [-m mode] [-O] [-e] [-h] [-i] [-m mode] [-O]
[-p] [-q] [-s] [-u] [-v] [[--] calc_cmd ...] [-p] [-q] [-s] [-u] [-v] [[--] calc_cmd ...]
#!${BINDIR}/calc [other_flags ...] -f #!${BINDIR}/calc [other_flags ...] -s -f
DESCRIPTION DESCRIPTION
CALC OPTIONS CALC OPTIONS
-c Continue reading command lines even after a scan/parse error has caused the abandonment of a line. -c Continue reading command lines even after a scan/parse error has caused the abandonment of a line.
Note that this option only deals with scanning and parsing of the calc language. It does not deal Note that this option only deals with scanning and parsing of the calc language. It does not deal
with execution or run-time errors. with execution or run-time errors.
For example: For example:
skipping to change at line 96 skipping to change at line 96
By default, calc_debug is 0, resource_debug is 3 and user_debug is 0. By default, calc_debug is 0, resource_debug is 3 and user_debug is 0.
For more information use the following calc command: For more information use the following calc command:
help config help config
-e Ignore any environment variables on startup. The getenv() builtin will still return values, how- -e Ignore any environment variables on startup. The getenv() builtin will still return values, how-
ever. ever.
-f This flag is required when using calc in shell script mode. It -f This flag is normally only with calc shell scripts.
must be at the end of the initial
#! line of the script.
This flag is normally only at the end of a calc shell script. If This flag is required when using calc in shell script mode. It
the first line of an executable must be at the end of the initial
file begins #! followed by the absolute pathname of the calc prog #! line of the script and must be immedately preceeded by the -s
ram and the flag -f as in: flag.
#!${BINDIR}/calc [other_flags ...] -f If the first line of an executable file begins #! followed by the
absolute pathname of the calc
program and if the first line ends with the two flags -s -f as in:
#!${BINDIR}/calc [other_flags ...] -s -f
the rest of the file will be processed in shell script mode. See SHELL SCRIPT MODE section of this the rest of the file will be processed in shell script mode. See SHELL SCRIPT MODE section of this
man page below for details. man page below for details.
The actual form of this flag is: The actual form of this flag is:
-f filename -f filename
On systems that treat an executable that begins with #! as a scri pt, the path of the executable is On systems that treat an executable that begins with #! as a scri pt, the path of the executable is
appended by the kernel as the final argument to the exec() system call. This is why the -f flag at appended by the kernel as the final argument to the exec() system call. This is why the -f flag at
the very end of the #! line. the very end of the #! line.
It is possible use -f filename on the command line: It is possible use -f filename on the command line:
calc [other_flags ...] -f filename calc [other_flags ...] -s -f filename
This will cause calc to process lines in filename in shell script mode. This will cause calc to process lines in filename in shell script mode.
Use of -f implies -s. In addition, -d and -p are implied if -i is Use of -f implies -s. However in a calc shell script, one must in
not given. clude -f before -s on the initial
#! line.
In addition, -d and -p are implied if -i is not given.
-h Print a help message. This option implies -q. This is equivalent to the calc command help help. -h Print a help message. This option implies -q. This is equivale nt to the calc command help help.
The help facility is disabled unless the mode is 5 or 7. See -m. The help facility is disabled unless the mode is 5 or 7. See -m.
-i Become interactive if possible. This flag will cause calc to dro p into interactive mode after the -i Become interactive if possible. This flag will cause calc to drop into interactive mode after the
calc_cmd arguments on the command line are evaluated. Without thi s flag, calc will exit after they calc_cmd arguments on the command line are evaluated. Without thi s flag, calc will exit after they
are evaluated. are evaluated.
For example: For example:
calc 2+5 calc 2+5
will print the value 7 and exit whereas: will print the value 7 and exit whereas:
calc -i 2+5 calc -i 2+5
will print the value 7 and prompt the user for more calc commands. will print the value 7 and prompt the user for more calc commands.
-m mode -m mode
This flag sets the permission mode of calc. It controls the a bility for calc to open files and This flag sets the permission mode of calc. It controls the abili ty for calc to open files and
execute programs. Mode may be a number from 0 to 7. execute programs. Mode may be a number from 0 to 7.
The mode value is interpreted in a way similar to that of the chmo d(1) octal mode: The mode value is interpreted in a way similar to that of the chmo d(1) octal mode:
0 do not open any file, do not execute progs 0 do not open any file, do not execute progs
1 do not open any file 1 do not open any file
2 do not open files for reading, do not execute progs 2 do not open files for reading, do not execute progs
3 do not open files for reading 3 do not open files for reading
4 do not open files for writing, do not execute progs 4 do not open files for writing, do not execute progs
5 do not open files for writing 5 do not open files for writing
6 do not execute any program 6 do not execute any program
7 allow everything (default mode) 7 allow everything (default mode)
If one wished to run calc from a privileged user, one might want t o use -m 0 in an effort to make If one wished to run calc from a privileged user, one might want to use -m 0 in an effort to make
calc somewhat more secure. calc somewhat more secure.
Mode bits for reading and writing apply only on an open. Fil es already open are not effected. Mode bits for reading and writing apply only on an open. Files a lready open are not effected.
Thus if one wanted to use the -m 0 in an effort to make calc somew hat more secure, but still wanted Thus if one wanted to use the -m 0 in an effort to make calc somew hat more secure, but still wanted
to read and write a specific file, one might want to do in sh(1), ksh(1), bash(1)-like shells: to read and write a specific file, one might want to do in sh(1), ksh(1), bash(1)-like shells:
calc -m 0 3<a.file calc -m 0 3<a.file
Files presented to calc in this way are opened in an unknown mo de. Calc will attempt to read or Files presented to calc in this way are opened in an unknown mode. Calc will attempt to read or
write them if directed. write them if directed.
If the mode disables opening of files for reading, then the startu If the mode disables opening of files for reading, then the start
p resource files are disabled as up resource files are disabled as
if -q was given. The reading of key bindings is also disabled if -q was given. The reading of key bindings is also disabled whe
when the mode disables opening of n the mode disables opening of
files for reading. files for reading.
-O Use the old classic defaults instead of the default configuration. This flag as the same effect as -O Use the old classic defaults instead of the default configuration. This flag as the same effect as
executing config("all", "oldcfg") at startup time. executing config("all", "oldcfg") at startup time.
NOTE: Older versions of calc used -n to setup a modified form o f the default calc configuration. NOTE: Older versions of calc used -n to setup a modified form of t he default calc configuration.
The -n flag currently does nothing. Use of the -n flag is now dep recated and may be used for some- The -n flag currently does nothing. Use of the -n flag is now dep recated and may be used for some-
thing else in the future. thing else in the future.
-p Pipe processing is enabled by use of -p. For example: -p Pipe processing is enabled by use of -p. For example:
calc -p "2^21701-1" | fizzbin calc -p "2^21701-1" | fizzbin
In pipe mode, calc does not prompt, does not print leading ta bs and does not print the initial In pipe mode, calc does not prompt, does not print leading tabs an d does not print the initial
header. The -p flag overrides -i. header. The -p flag overrides -i.
-q Disable the reading of the startup scripts. -q Disable the reading of the startup scripts.
-s By default, all calc_cmd args are evaluated and executed. This fl ag will disable their evaluation -s By default, all calc_cmd args are evaluated and executed. This f lag will disable their evaluation
and instead make them available as strings for the argv() builtin function. and instead make them available as strings for the argv() builtin function.
-u Disable buffering of stdin and stdout. -u Disable buffering of stdin and stdout.
-v Print the calc version number and exit. -v Print the calc version number and exit.
-- The double dash indicates to calc that no more option follow. Th us calc will ignore a later argu- -- The double dash indicates to calc that no more option follow. Thu s calc will ignore a later argu-
ment on the command line even if it starts with a dash. This is u seful when entering negative val- ment on the command line even if it starts with a dash. This is u seful when entering negative val-
ues on the command line as in: ues on the command line as in:
calc -p -- -1 - -7 calc -p -- -1 - -7
CALC COMMAND LINE CALC COMMAND LINE
With no calc_cmd arguments, calc operates interactively. If one or mor With no calc_cmd arguments, calc operates interactively. If one or more
e arguments are given on the com- arguments are given on the com-
mand line and -s is NOT given, then calc will read and execute them and e mand line and -s is NOT given, then calc will read and execute them and
ither attempt to go interactive either attempt to go interactive
according as the -i flag was present or absent. according as the -i flag was present or absent.
If -s is given, calc will not evaluate any calc_cmd arguments but inste ad make them available as strings If -s is given, calc will not evaluate any calc_cmd arguments but instead make them available as strings
to the argv() builtin function. to the argv() builtin function.
Sufficiently simple commands with no no characters like parentheses, brac kets, semicolons, '*', which have Sufficiently simple commands with no no characters like parentheses, brac kets, semicolons, '*', which have
special interpretations in UNIX shells may be entered, possibly with s paces, until the terminating new- special interpretations in UNIX shells may be entered, possibly with spac es, until the terminating new-
line. For example: line. For example:
calc 23 + 47 calc 23 + 47
will print 70. However, command lines will have problems: will print 70. However, command lines will have problems:
calc 23 * 47 calc 23 * 47
calc -23 + 47 calc -23 + 47
The first example above fails because the shell interprets the '*' as a f The first example above fails because the shell interprets the '*' as
ile glob. The second example a file glob. The second example
fails because '-23' is viewed as a calc option (which it is not) and do fails because '-23' is viewed as a calc option (which it is not) and do c
calc objects to that it thinks of alc objects to that it thinks of
as an unknown option. These cases can usually be made to work as expe as an unknown option. These cases can usually be made to work as
cted by enclosing the command expected by enclosing the command
between quotes: between quotes:
calc '23 * 47' calc '23 * 47'
calc "print sqrt(2), exp(1)" calc "print sqrt(2), exp(1)"
or in parentheses and quotes to avoid leading -'s as in: or in parentheses and quotes to avoid leading -'s as in:
calc '(-23 + 47)' calc '(-23 + 47)'
One may also use a double dash to denote that calc options have ended as in: One may also use a double dash to denote that calc options have ended as in:
calc -- -23 + 47 calc -- -23 + 47
calc -q -- -23 + 47 calc -q -- -23 + 47
If '!' is to be used to indicate the factorial function, for shells like If '!' is to be used to indicate the factorial function, for shells like
csh(1) for which '!' followed by csh(1) for which '!' followed by
a non-space character is used for history substitution, it may be necessa a non-space character is used for history substitution, it may be nece
ry to include a space or use a ssary to include a space or use a
backslash to escape the special meaning of '!'. For example, the command : backslash to escape the special meaning of '!'. For example, the command :
print 27!^2 print 27!^2
may have to be replaced by: may have to be replaced by:
print 27! ^2 or print 27^2 print 27! ^2 or print 27^2
Reading from standard input when calc is part of a pipe works as long as the -p flag is given to calc. Reading from standard input when calc is part of a pipe works as long as the -p flag is given to calc.
For example, this will print chongo was here: For example, this will print chongo was here:
echo chongo was here | calc -p 'print fgetline(files(0));' echo chongo was here | calc -p 'print fgetline(files(0));'
while this does not: while this does not:
echo chongo was here | calc 'print fgetline(files(0));' echo chongo was here | calc 'print fgetline(files(0));'
nor will this print chongo was here: nor will this print chongo was here:
echo chongo was here | calc -i 'print fgetline(files(0));' echo chongo was here | calc -i 'print fgetline(files(0));'
This is because without -p, the interactive parser, in an effort to parse interactive commands, flushes This is because without -p, the interactive parser, in an effort to pa rse interactive commands, flushes
data on standard input. data on standard input.
CALC STARTUP FILES CALC STARTUP FILES
Normally on startup, if the environment variable $CALCRC is undefined a Normally on startup, if the environment variable $CALCRC is undefined and
nd calc is invoked without the -q calc is invoked without the -q
flag, or if $CALCRC is defined and calc is invoked with -e, calc looks fo flag, or if $CALCRC is defined and calc is invoked with -e, calc looks
r a file "startup" in the calc for a file "startup" in the calc
resource directory .calcrc in the user's home directory, and .calcinit resource directory .calcrc in the user's home directory, and .calcinit in
in the current directory. If one the current directory. If one
or more of these are found, they are read in succession as calc scripts a nd their commands executed. When or more of these are found, they are read in succession as calc scripts a nd their commands executed. When
defined, $CALCRC is to contain a ':' separated list of names of files, an d if calc is then invoked without defined, $CALCRC is to contain a ':' separated list of names of files, an d if calc is then invoked without
either the -q or -e flags, these files are read in succession and their c ommands executed. No error con- either the -q or -e flags, these files are read in succession and their commands executed. No error con-
dition is produced if a listed file is not found. dition is produced if a listed file is not found.
If the mode specified by -m disables opening of files for reading, the n the reading of startup files is If the mode specified by -m disables opening of files for reading, then t he reading of startup files is
also disabled as if -q was given. also disabled as if -q was given.
CALC FILE SEARCH PATH CALC FILE SEARCH PATH
If the environment variable $CALCPATH is undefined, or if it is defined a nd calc is invoked with the -e If the environment variable $CALCPATH is undefined, or if it is define d and calc is invoked with the -e
flag, when a file name not beginning with /, ~ or ./, is specified as in: flag, when a file name not beginning with /, ~ or ./, is specified as in:
calc read myfile calc read myfile
calc searches in succession: calc searches in succession:
./myfile ./myfile
./myfile.cal ./myfile.cal
${LIBDIR}/myfile ${LIBDIR}/myfile
${LIBDIR}/myfile.cal ${LIBDIR}/myfile.cal
${CUSTOMCALDIR}/myfile ${CUSTOMCALDIR}/myfile
${CUSTOMCALDIR}/myfile.cal ${CUSTOMCALDIR}/myfile.cal
If the file is found, the search stops and the commands in the file ar If the file is found, the search stops and the commands in the file are e
e executed. It is an error if no xecuted. It is an error if no
readable file with the specified name is found. An alternative search pa readable file with the specified name is found. An alternative search
th can be specified by defining path can be specified by defining
$CALCPATH in the same way as PATH is defined, as a ':' separated list $CALCPATH in the same way as PATH is defined, as a ':' separated list of
of directories, and then invoking directories, and then invoking
calc without the -e flag. calc without the -e flag.
Calc treats all open files, other than stdin, stdout and stderr as files available for reading and writ- Calc treats all open files, other than stdin, stdout and stderr as file s available for reading and writ-
ing. One may present calc with an already open file using sh(1), ksh(1), bash(1)-like shells is to: ing. One may present calc with an already open file using sh(1), ksh(1), bash(1)-like shells is to:
calc 3<open_file 4<open_file2 calc 3<open_file 4<open_file2
For more information use the following calc commands: For more information use the following calc commands:
help help help help
help overview help overview
help usage help usage
help environment help environment
help config help config
SHELL SCRIPT MODE SHELL SCRIPT MODE
If the first line of an executable file begins #! followed by the abso If the first line of an executable file begins #! followed by the absolu
lute pathname of the calc program te pathname of the calc program
and the flag -f as in: and the first line ends with the two flags -s -f as in:
#!${BINDIR}/calc [other_flags ...] -f #!${BINDIR}/calc [other_flags ...] -s -f
the rest of the file will be processed in shell script mode. Note that - the rest of the file will be processed in shell script mode. Note that
f must at the end of the initial -s -f must at the end of the ini-
``#!'' line. Any other optional other_flags must come before the -f. tial ``#!'' line. Any other optional other_flags must come before the -s
-f.
In shell script mode the contents of the file are read and executed as In shell script mode the contents of the file are read and executed as if
if they were in a file being pro- they were in a file being pro-
cessed by a read command, except that a "command" beginning with '#' foll cessed by a read command, except that a "command" beginning with '#' fol
owed by whitespace and ending at lowed by whitespace and ending at
the next newline is treated as a comment. Any optional other_flags wil the next newline is treated as a comment. Any optional other_flags will
l be parsed first followed by the be parsed first followed by the
later lines within the script itself. later lines within the script itself.
In shell script mode, -s is always assumed. In addition, -d and -p are a utomatically set if -i is not In shell script mode, -s is always assumed. In addition, -d and -p a re automatically set if -i is not
given. given.
For example, if the file /tmp/mersenne: For example, if the file /tmp/mersenne:
#!${BINDIR}/calc -q -f #!${BINDIR}/calc -q -s -f
#
# mersenne - an example of a calc shell script file /* setup */
argc = argv();
program = argv(0);
stderr = files(2);
/* parse args */ /* parse args */
if (argv() != 1) { if (argc != 2) {
fprintf(files(2), "usage: %s exp\n", config("program")); fprintf(stderr, "usage: %s exp0, program);
abort "must give one exponent arg";
}
exp = eval(argv(1));
if (!isint(exp) || exp < 0) {
fprintf(stderr, "%s: exp must be non-negative integer0, program)
;
abort "must give one exponent arg"; abort "must give one exponent arg";
} }
/* print the mersenne number */ /* print the mersenne number */
print "2^": argv(0) : "-1 =", 2^eval(argv(0))-1; print "2^": exp : "-1 =", 2^exp-1;
is made an executable file by: is made an executable file by:
chmod +x /tmp/mersenne chmod +x /tmp/mersenne
then the command line: then the command line:
/tmp/mersenne 127 /tmp/mersenne 127
will print: will print:
2^127-1 = 170141183460469231731687303715884105727 2^127-1 = 170141183460469231731687303715884105727
Note that because -s is assumed in shell script mode and non-dashed args are made available as strings via Note that because -s is required in shell script mode non-dashed args are made available as strings via
the argv() builtin function. Therefore: the argv() builtin function. Therefore:
2^eval(argv(0))-1 2^eval(argv(1))-1
will print the decimal value of 2^n-1 but will print the decimal value of 2^n-1 whereas
2^argv(0)-1 2^argv(1)-1
will not. will not.
DATA TYPES DATA TYPES
Fundamental builtin data types include integers, real numbers, rational numbers, complex numbers and Fundamental builtin data types include integers, real numbers, rati onal numbers, complex numbers and
strings. strings.
By use of an object, one may define an arbitrarily complex data types. By use of an object, one may define an arbitrarily complex data types. O
One may define how such objects ne may define how such objects
behave a wide range of operations such as addition, subtraction, mult behave a wide range of operations such as addition, subtraction, mu
iplication, division, negation, ltiplication, division, negation,
squaring, modulus, rounding, exponentiation, equality, comparison, printi ng and so on. squaring, modulus, rounding, exponentiation, equality, comparison, printi ng and so on.
For more information use the following calc commands: For more information use the following calc commands:
help types help types
help obj help obj
show objfuncs show objfuncs
VARIABLES VARIABLES
Variables in calc are typeless. In other words, the fundamental type o f a variable is determined by its Variables in calc are typeless. In other words, the fundamental type of a variable is determined by its
content. Before a variable is assigned a value it has the value of zero. content. Before a variable is assigned a value it has the value of zero.
The scope of a variable may be global, local to a file, or local to a pro cedure. Values may be grouped The scope of a variable may be global, local to a file, or local to a procedure. Values may be grouped
together in a matrix, or into a a list that permits stack and queue style operations. together in a matrix, or into a a list that permits stack and queue style operations.
For more information use the following calc commands: For more information use the following calc commands:
help variable help variable
help mat help mat
help list help list
show globals show globals
INPUT/OUTPUT INPUT/OUTPUT
A leading ``0x'' implies a hexadecimal value, a leading ``0b'' implies A leading ``0x'' implies a hexadecimal value, a leading ``0b'' implies a
a binary value, and a ``0'' fol- binary value, and a ``0'' fol-
lowed by a digit implies an octal value. Complex numbers are indicated b lowed by a digit implies an octal value. Complex numbers are indicat
y a trailing ``i'' such as in ed by a trailing ``i'' such as in
``3+4i''. Strings may be delimited by either a pair of single or double ``3+4i''. Strings may be delimited by either a pair of single or double
quotes. By default, calc prints quotes. By default, calc prints
values as if they were floating point numbers. One may change the defaul values as if they were floating point numbers. One may change the defau
t to print values in a number of lt to print values in a number of
modes including fractions, integers and exponentials. modes including fractions, integers and exponentials.
A number of stdio-like file I/O operations are provided. One may open, r ead, write, seek and close files. A number of stdio-like file I/O operations are provided. One may open, r ead, write, seek and close files.
Filenames are subject to `` '' expansion to home directories in a way sim ilar to that of the Korn or C- Filenames are subject to `` '' expansion to home directories in a way similar to that of the Korn or C-
Shell. Shell.
For example: For example:
~/.calcrc ~/.calcrc
~chongo/lib/fft_multiply.cal ~chongo/lib/fft_multiply.cal
For more information use the following calc command: For more information use the following calc command:
help file help file
CALC LANGUAGE CALC LANGUAGE
The calc language is a C-like language. The language includes comman The calc language is a C-like language. The language includes commands
ds such as variable declarations, such as variable declarations,
expressions, tests, labels, loops, file operations, function calls. Thes expressions, tests, labels, loops, file operations, function calls. T
e commands are very similar to hese commands are very similar to
their counterparts in C. their counterparts in C.
The language also include a number of commands particular to calc itself . These include commands such as The language also include a number of commands particular to calc itself. These include commands such as
function definition, help, reading in resource files, dump files to a fil e, error notification, configura- function definition, help, reading in resource files, dump files to a fil e, error notification, configura-
tion control and status. tion control and status.
For more information use the following calc command: For more information use the following calc command:
help command help command
help statement help statement
help expression help expression
help operator help operator
help config help config
skipping to change at line 473 skipping to change at line 486
${CUSTOMCALDIR}/*.cal ${CUSTOMCALDIR}/*.cal
custom resource files custom resource files
${CUSTOMHELPDIR}/* ${CUSTOMHELPDIR}/*
custom help files custom help files
ENVIRONMENT ENVIRONMENT
CALCPATH CALCPATH
A :-separated list of directories used to search for calc resource filenames that do not begin with A :-separated list of directories used to search for calc resource f ilenames that do not begin with
/, ./ or ~. /, ./ or ~.
Default value: ${CALCPATH} Default value: ${CALCPATH}
CALCRC CALCRC
On startup (unless -h or -q was given on the command line), calc sea rches for files along this :-sep- On startup (unless -h or -q was given on the command line), calc sea rches for files along this :-sep-
arated environment variable. arated environment variable.
Default value: ${CALCRC} Default value: ${CALCRC}
CALCBINDINGS CALCBINDINGS
On startup (unless -h or -q was given on the command line, or -m On startup (unless -h or -q was given on the command line, or -m dis
disallows opening files for read- allows opening files for read-
ing), calc reads key bindings from the filename specified by this ing), calc reads key bindings from the filename specified by th
environment variable. The key is environment variable. The key
binding file is searched for along the $CALCPATH list of directories . binding file is searched for along the $CALCPATH list of directories .
Default value: binding Default value: binding
This variable is not used if calc was compiled with GNU-readline sup port. In that case, the standard This variable is not used if calc was compiled with GNU-readline sup port. In that case, the standard
readline mechanisms (see readline(3)) are used. readline mechanisms (see readline(3)) are used.
CALCHISTFILE
Location of the calc history file.
Default value: ~/.calc_history
This variable is not used if calc was compiled with GNU-readline sup
port.
CREDIT CREDIT
The main chunk of calc was written by David I. Bell. The main chunk of calc was written by David I. Bell.
The calc primary mirror, calc mailing list and calc bug report processing is performed by Landon Curt The calc primary mirror, calc mailing list and calc bug report proce ssing is performed by Landon Curt
Noll. Noll.
Landon Curt Noll maintains the master reference source, performs rel ease control functions as well as Landon Curt Noll maintains the master reference source, performs release control functions as well as
other calc maintenance functions. other calc maintenance functions.
Thanks for suggestions and encouragement from Peter Miller, Neil Justusso n, and Landon Noll. Thanks for suggestions and encouragement from Peter Miller, Neil Justusso n, and Landon Noll.
Thanks to Stephen Rothwell for writing the original version of hist.c whi ch is used to do the command line Thanks to Stephen Rothwell for writing the original version of hist.c whi ch is used to do the command line
editing. editing.
Thanks to Ernest W. Bowen for supplying many improvements in accurac Thanks to Ernest W. Bowen for supplying many improvements in accuracy an
y and generality for some numeric d generality for some numeric
functions. Much of this was in terms of actual code which I gratefully a functions. Much of this was in terms of actual code which I gratefull
ccepted. Ernest also supplied y accepted. Ernest also supplied
the original text for many of the help files. the original text for many of the help files.
Portions of this program are derived from an earlier set of public doma Portions of this program are derived from an earlier set of public domain
in arbitrarily precision routines arbitrarily precision routines
which was posted to the net around 1984. By now, there is almost no rec which was posted to the net around 1984. By now, there is almost no
ognizable code left from that recognizable code left from that
original source. original source.
COPYING / CALC GNU LESSER GENERAL PUBLIC LICENSE COPYING / CALC GNU LESSER GENERAL PUBLIC LICENSE
Calc is open software, and is covered under version 2.1 of the GNU Lesser General Public License. You are Calc is open software, and is covered under version 2.1 of the GNU Lesser General Public License. You are
welcome to change it and/or distribute copies of it under certain conditi ons. The calc commands: welcome to change it and/or distribute copies of it under certain conditi ons. The calc commands:
help copyright help copyright
help copying help copying
help copying-lgpl help copying-lgpl
should display the contents of the COPYING and COPYING-LGPL files. Those files contain information about should display the contents of the COPYING and COPYING-LGPL files. Thos e files contain information about
the calc's GNU Lesser General Public License, and in particular the condi tions under which you are allowed the calc's GNU Lesser General Public License, and in particular the condi tions under which you are allowed
to change it and/or distribute copies of it. to change it and/or distribute copies of it.
You should have received a copy of the version 2.1 of the GNU Lesser Gene ral Public License. If you do You should have received a copy of the version 2.1 of the GNU Lesser G eneral Public License. If you do
not have these files, write to: not have these files, write to:
Free Software Foundation, Inc. Free Software Foundation, Inc.
51 Franklin Street 51 Franklin Street
Fifth Floor Fifth Floor
Boston, MA 02110-1301 Boston, MA 02110-1301
USA USA
Calc is copyrighted in several different ways. These ways include: Calc is copyrighted in several different ways. These ways include:
skipping to change at line 557 skipping to change at line 577
Copyright (C) year Ernest Bowen Copyright (C) year Ernest Bowen
This man page is: This man page is:
Copyright (C) 1999 Landon Curt Noll Copyright (C) 1999 Landon Curt Noll
and is covered under version 2.1 GNU Lesser General Public License. and is covered under version 2.1 GNU Lesser General Public License.
CALC MAILING LIST / CALC UPDATES / ENHANCEMENTS CALC MAILING LIST / CALC UPDATES / ENHANCEMENTS
To contribute comments, suggestions, enhancements and interesting calc resource files, and shell scripts To contribute comments, suggestions, enhancements and interesting calc re source files, and shell scripts
please join the calc-tester low volume moderated calc mailing list. please join the calc-tester low volume moderated calc mailing list.
To the calc-tester mailing list, visit the following URL: To the calc-tester mailing list, visit the following URL:
https://www.listbox.com/subscribe/?list_id=239342 https://www.listbox.com/subscribe/?list_id=239342
To help determine you are a human and not just a spam bot, you will be re quired to provide the following To help determine you are a human and not just a spam bot, you will be required to provide the following
additional information: additional information:
Your Name Your Name
Calc Version Calc Version
For example, the current version is: ${VERSION} For example, the current version is: ${VERSION}
Operating System Operating System
If you don't know your operating system, enter: unknown If you don't know your operating system, enter: unknown
The date 7 days ago The date 7 days ago
Consult a calendar :-) Consult a calendar :-)
If you need a human to help you with your mailing list subscription, or if you have problems with the If you need a human to help you with your mailing list subscription, or i f you have problems with the
above procedure, please send EMail to our special address: above procedure, please send EMail to our special address:
calc-tester-maillist-help at asthe dot com calc-tester-maillist-help at asthe dot com
NOTE: Remove spaces and replace 'at' with @, 'dot' with . NOTE: Remove spaces and replace 'at' with @, 'dot' with .
NOTE: Yes, the EMail address uses 'asthe', NOTE: Yes, the EMail address uses 'asthe',
while the web site uses 'isthe'. while the web site uses 'isthe'.
To be sure we see your EMail asking for help with your mailing list subsc ription, please use the following To be sure we see your EMail asking for help with your mailing list subsc ription, please use the following
skipping to change at line 612 skipping to change at line 632
NOTE: Yes, the EMail address uses 'asthe', NOTE: Yes, the EMail address uses 'asthe',
while the web site uses 'isthe'. while the web site uses 'isthe'.
Your subject must contain the words: Your subject must contain the words:
calc bug report calc bug report
You may have additional words in your subject line. You may have additional words in your subject line.
However, you may find it more helpful to simply subscribe to the cal c-tester mailing list (see above) However, you may find it more helpful to simply subscribe to the cal c-tester mailing list (see above)
and then to send your report to that mailing list as a wider set cal c testers may be able to help and then to send your report to that mailing list as a wider set calc testers may be able to help
you. you.
See the BUGS source file or use the calc command: See the BUGS source file or use the calc command:
help bugs help bugs
for more information about bug reporting. for more information about bug reporting.
CALC WEB SITE CALC WEB SITE
 End of changes. 63 change blocks. 
126 lines changed or deleted 149 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)