Release calc version 2.11.2t1.0

This commit is contained in:
Landon Curt Noll
2000-06-07 09:12:46 -07:00
parent 417ffb6ab5
commit 61dd47526f
497 changed files with 2330 additions and 2141 deletions

22
BUGS
View File

@@ -20,20 +20,21 @@ configuration, try backing them out and see if things get better.
To be sure that your version of calc is up to date, check out: To be sure that your version of calc is up to date, check out:
http://reality.sgi.com/chongo/tech/comp/calc/calc-download.html http://www.isthe.com/chongo/tech/comp/calc/calc-download.html
The calc web site is located at: The calc web site is located at:
http://reality.sgi.com/chongo/tech/comp/calc/index.html http://www.isthe.com/chongo/tech/comp/calc/index.html
=-= =-=
If you have tried all of the above and things still are not right, If you have tried all of the above and things still are not right,
then it may be time to send in a bug report. You can send bug reports to: then it may be time to send in a bug report. You can send bug reports to:
calc-bugs at postofc dot corp dot sgi dot com calc-bugs at asthe dot com
[[ Replace 'at' with @, 'dot' is with . and remove the spaces ]] [[ NOTE: Replace 'at' with @, 'dot' is with . and remove the spaces ]]
[[ NOTE: The EMail address uses 'asthe', the web site URL uses 'isthe' ]]
When you send your report, please include the following information: When you send your report, please include the following information:
@@ -58,9 +59,10 @@ Stack traces from core dumps are useful to send as well.
Send any comments, compiler warning messages, suggestions and most Send any comments, compiler warning messages, suggestions and most
importantly, fixes (in the form of a context diff patch) to: importantly, fixes (in the form of a context diff patch) to:
calc-tester at postofc dot corp dot sgi dot com calc-bugs at asthe dot com
[[ Replace 'at' with @, 'dot' is with . and remove the spaces ]] [[ NOTE: Replace 'at' with @, 'dot' is with . and remove the spaces ]]
[[ NOTE: The EMail address uses 'asthe', the web site URL uses 'isthe' ]]
You should use the above calc-bugs address for bug reports, if you are You should use the above calc-bugs address for bug reports, if you are
not currently a member of the calc-tester mailing list. not currently a member of the calc-tester mailing list.
@@ -177,12 +179,12 @@ Problems with known work-a-rounds:
## received a copy with calc; if not, write to Free Software Foundation, Inc. ## received a copy with calc; if not, write to Free Software Foundation, Inc.
## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
## ##
## @(#) $Revision: 29.4 $ ## @(#) $Revision: 29.5 $
## @(#) $Id: BUGS,v 29.4 1999/12/15 09:13:29 chongo Exp $ ## @(#) $Id: BUGS,v 29.5 2000/06/07 14:02:13 chongo Exp $
## @(#) $Source: /usr/local/src/cmd/calc/RCS/BUGS,v $ ## @(#) $Source: /usr/local/src/cmd/calc/RCS/BUGS,v $
## ##
## Under source code control: 1994/03/18 14:06:13 ## Under source code control: 1994/03/18 14:06:13
## File existed as early as: 1994 ## File existed as early as: 1994
## ##
## chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ ## chongo <was here> /\oo/\ http://www.isthe.com/chongo/
## Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ ## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/

348
CHANGES
View File

@@ -1,4 +1,39 @@
The following are the changes from calc version 2.11.1 to date: The following are the changes from calc version 2.11.2t0 to date:
Fixed a bug whereby help files are not displayed correctly on
systems such as NetBSD 1.4.1. Thanks to a fix from Jakob Naumann.
Changed EMail addresses to use asthe.com. Changed URLs to use
www.isthe.com. NOTE: The EMail address uses 'asthe' and the web
site URL uses 'isthe'.
Using calc-bugs at asthe dot com for calc bug reports,
calc-contrib at asthe dot com for calc contributions,
calc-tester-request at asthe dot com for requests to join calc-tester and
calc-tester at asthe dot com for the calc tester mailing list.
Replaced explicit EMail addresses found this file with the <user at
site dot domain> notation to reduce the potential for those folks
to be spammed.
The Makefile attempts to detect the existence of /dev/urandom with -e
instead of the less portable -c.
Misc Makefile fixes.
The following are the changes from calc version 2.11.1t3 to 2.11.1t4:
Removed non-portable strerror() tests (3715, 3724 and 3728) from
calc/regress.cal.
Fixed missing strdup() from func.c problem.
Fixed a problem that would have come up on a very long #! command line
if the system permitted it.
The following are the changes from calc version 2.11.1 to 2.11.1t2.2:
Placed calc under version 2.1 of the GNU Lesser General Public License. Placed calc under version 2.1 of the GNU Lesser General Public License.
@@ -61,9 +96,9 @@ The following are the changes from calc version 2.11.0t10 to 2.11.0t11:
Fixed some bugs relaing to '// and %' in combination with some Fixed some bugs relaing to '// and %' in combination with some
of the the rounding modes based on a patch from Ernest Bowen of the the rounding modes based on a patch from Ernest Bowen
<ernie@turing.une.edu.au>. <ernie at turing dot une dot edu dot au>.
A patch from Klaus Alexander Seistrup <klaus@seistrup.dk>, when A patch from Klaus Alexander Seistrup <klaus at seistrup dot dk>, when
used in combination with the GNU-readline facility, will prevent used in combination with the GNU-readline facility, will prevent
it from saving empty lines. it from saving empty lines.
@@ -77,7 +112,7 @@ The following are the changes from calc version 2.11.0t10 to 2.11.0t11:
Fixed the long standing issue first reported by Saber-C in the Fixed the long standing issue first reported by Saber-C in the
domul() function in zmil.c thanks to a patch by Ernest Bowen domul() function in zmil.c thanks to a patch by Ernest Bowen
<ernie@turing.une.edu.au>. <ernie at turing dot une dot edu dot au>.
Added zero dimensional matrices. A zero dimensional matrix is defined as: Added zero dimensional matrices. A zero dimensional matrix is defined as:
@@ -86,15 +121,15 @@ The following are the changes from calc version 2.11.0t10 to 2.11.0t11:
Updated the help/mat file to reflect the current status of matrices Updated the help/mat file to reflect the current status of matrices
including zero dimensional matrices. including zero dimensional matrices.
Added indices() builtin function as written by Ernest Bowen Added indices() builtin function as written by Ernest Bowen <ernie
<ernie@turing.une.edu.au> developed from an idea of Klaus Seistrup at turing dot une dot edu dot au> developed from an idea of Klaus
<klaus@seistrup.dk>. See help/indices for details. Seistrup <klaus at seistrup dot dk>. See help/indices for details.
Fixed a number of insure warnings as reported by Michel van der List Fixed a number of insure warnings as reported by Michel van der List
<vanderlistmj@sbphrd.com>. <vanderlistmj at sbphrd dot com>.
Fixed a number of help file typos discovered by Klaus Alexander Fixed a number of help file typos discovered by Klaus Alexander
Seistrup <klaus@seistrup.dk>. Seistrup <klaus at seistrup dot .dk>.
Removed REGRESS_CAL as a Makefile variable. Removed REGRESS_CAL as a Makefile variable.
@@ -102,9 +137,9 @@ The following are the changes from calc version 2.11.0t10 to 2.11.0t11:
one to print the list of distribution files that are used (but not one to print the list of distribution files that are used (but not
built) to form either the libcalc.a or the libcustcalc.a library. built) to form either the libcalc.a or the libcustcalc.a library.
Added a patch from Randall.Gray@marine.csiro.au to make ^D terminate, Added a patch from <Randall.Gray at marine dot csiro dot au> to make
but *only* if the line it is on is completely empty. Removed lib/altbind ^D terminate, but *only* if the line it is on is completely empty.
and removed the CALCBINDINGS Makefile variable. Removed lib/altbind and removed the CALCBINDINGS Makefile variable.
A new config("ctrl_d") value controls how the ``delete_char'', which A new config("ctrl_d") value controls how the ``delete_char'', which
by default is bound to ^D (Control D), will or will not exit calc: by default is bound to ^D (Control D), will or will not exit calc:
@@ -147,7 +182,8 @@ The following are the changes from calc version 2.11.0t10 to 2.11.0t11:
instead of returning integers. One cannot use integers to set instead of returning integers. One cannot use integers to set
these values, so returning integers was useless. these values, so returning integers was useless.
Applied the dangling name fix from Ernest Bowen <ernie@turing.une.edu.au>. Applied the dangling name fix from Ernest Bowen
<ernie at turing dot une dot edu dot au>.
Show func prints function on order of their indices, and with Show func prints function on order of their indices, and with
config("lib_debug") & 4 == 4 some more details about the functions config("lib_debug") & 4 == 4 some more details about the functions
@@ -168,7 +204,7 @@ The following are the changes from calc version 2.11.0t10 to 2.11.0t11:
hash(X) and hash(Y). hash(X) and hash(Y).
Added support for config("ctrl_d") to the GNU-readline interface Added support for config("ctrl_d") to the GNU-readline interface
as written by Klaus Alexander Seistrup <klaus@seistrup.dk>. as written by Klaus Alexander Seistrup <klaus at seistrup dot dk>.
Currently, the config("ctrl_d", "virgin_eof") is not fully Currently, the config("ctrl_d", "virgin_eof") is not fully
supported. Under GNU-readline, it acts the same way as supported. Under GNU-readline, it acts the same way as
@@ -186,8 +222,8 @@ The following are the changes from calc version 2.11.0t10 to 2.11.0t11:
Fixed the make depend rule. Fixed the make depend rule.
Applied Ernest Bowen's <ernie@turing.une.edu.au> complex function Applied Ernest Bowen's <ernie at turing dot une dot edu dot au>
power(), exp() and transcendental function patch: complex function power(), exp() and transcendental function patch:
Calc will return a "too-large argument" error-value for exp(x, Calc will return a "too-large argument" error-value for exp(x,
epsilon) if re(x) >= 2^30 or if an estimate indicates that the epsilon) if re(x) >= 2^30 or if an estimate indicates that the
@@ -388,12 +424,12 @@ The following are the changes from calc version 2.11.0t8.9.1 to 2.11.0t9.4.5:
Fixed portability issue in seed.c relating to /dev/urandom and ustat. Fixed portability issue in seed.c relating to /dev/urandom and ustat.
Added a fix from Martin Buck <mb@netwings.ch> to detect when Added a fix from Martin Buck <mb at netwings dot ch> to detect when
calc aborts early instead of completing the regression test. calc aborts early instead of completing the regression test.
Now 'make chk' will require the last line of calc output to Now 'make chk' will require the last line of calc output to
end in the string ``Ending regression tests''. end in the string ``Ending regression tests''.
Added a patch from Martin Buck <mb@netwings.ch> to allow use of Added a patch from Martin Buck <mb at netwings dot ch> to allow use of
GNU-readline. Note that GNU-readline is not shipped with calc. GNU-readline. Note that GNU-readline is not shipped with calc.
His patch only provides the hooks to use it. One must comment out: His patch only provides the hooks to use it. One must comment out:
@@ -421,10 +457,10 @@ The following are the changes from calc version 2.11.0t8.9.1 to 2.11.0t9.4.5:
the internal opcodes needed to declare them. the internal opcodes needed to declare them.
Fixed a permission problem on ranlib-ed *.a files that was reported Fixed a permission problem on ranlib-ed *.a files that was reported
by Michael Somos <somos@grail.cba.csuohio.edu>. by Michael Somos <somos at grail dot cba dot csuohio dot edu>.
Added patch by Klaus Alexander Seistrup <klaus@seistrup.dk> related Added patch by Klaus Alexander Seistrup <klaus at seistrup dot dk>
to GNU-readline: related to GNU-readline:
+ enable calc specific bindings in ~/.inputrc + enable calc specific bindings in ~/.inputrc
+ save a copy of your session to disk and reload them next + save a copy of your session to disk and reload them next
@@ -446,7 +482,7 @@ The following are the changes from calc version 2.11.0t8.9.1 to 2.11.0t9.4.5:
directly under ${LIBDIR} will be removed. directly under ${LIBDIR} will be removed.
Added the piforever() funcion to lib/pi.cal. It was written by Added the piforever() funcion to lib/pi.cal. It was written by
Klaus Alexander Seistrup <klaus@seistrup.dk> and was inspired by Klaus Alexander Seistrup <klaus at seistrup dot dk> and was inspired by
an algorithm conceived by Lambert Meertens. (See also the ABC an algorithm conceived by Lambert Meertens. (See also the ABC
Programmer's Handbook, by Geurts, Meertens & Pemberton, published Programmer's Handbook, by Geurts, Meertens & Pemberton, published
by Prentice-Hall (UK) Ltd., 1990.) The piforever() funcion prints by Prentice-Hall (UK) Ltd., 1990.) The piforever() funcion prints
@@ -528,7 +564,7 @@ The following are the changes from calc version 2.11.0t8.9.1 to 2.11.0t9.4.5:
Unknown error 9999 Unknown error 9999
Fixed some insure code inspection tool issues that were discovered Fixed some insure code inspection tool issues that were discovered
and investigated by Michel van der List <vanderlistmj@sbphrd.com>. and investigated by Michel van der List <vanderlistmj at sbphrd dot com>.
Made an effort to ensure that the v_subtype of VALUES are initialized Made an effort to ensure that the v_subtype of VALUES are initialized
to V_NOSUBTYPE thruout the source code. to V_NOSUBTYPE thruout the source code.
@@ -550,7 +586,7 @@ The following are the changes from calc version 2.11.0t8 to 2.11.0t8.9:
Improved how calc internally dealt with reading EOF or '\0' characters. Improved how calc internally dealt with reading EOF or '\0' characters.
Calc now allows multiple defines to occur on the same line: Calc now allows multiple defines to occur on the same line:
(Thanks goes to Ernest Bowen <ernie@turing.une.edu.au>) (Thanks goes to Ernest Bowen <ernie at turing dot une dot edu dot au>)
define f8300(x) = x^2; define g8300(x) = 1 - x; define f8300(x) = x^2; define g8300(x) = 1 - x;
@@ -588,7 +624,7 @@ The following are the changes from calc version 2.11.0t8 to 2.11.0t8.9:
builtin produced FNV hash values that did not match the FNV-1 builtin produced FNV hash values that did not match the FNV-1
algorithm as specified in: algorithm as specified in:
http://reality.sgi.com/chongo/tech/comp/fnv/index.html http://www.isthe.com/chongo/tech/comp/fnv/index.html
Removed an unused argument in the function getbody() in codegen.c. Removed an unused argument in the function getbody() in codegen.c.
@@ -613,11 +649,11 @@ The following are the changes from calc version 2.11.0t8 to 2.11.0t8.9:
Added FNV hash to the regression test suite. Added FNV hash to the regression test suite.
Added Ernest Bowen's <ernie@turing.une.edu.au> fix for the Added Ernest Bowen's <ernie at turing dot une dot edu dot au> fix for the
FNV regression test of the hash() builtin function. FNV regression test of the hash() builtin function.
Added Ernest Bowen's <ernie@turing.une.edu.au> patch to improve Added Ernest Bowen's <ernie at turing dot une dot edu dot au> patch to
the way config("calc_debug"). Now the lower 4 bits of the improve the way config("calc_debug"). Now the lower 4 bits of the
config("calc_debug") parameter have the following meaning: config("calc_debug") parameter have the following meaning:
n Meaning of bit n of config("calc_debug") n Meaning of bit n of config("calc_debug")
@@ -688,8 +724,8 @@ The following are the changes from calc version 2.11.0t8 to 2.11.0t8.9:
Updated calc man page and help/usage file to reflect recent Updated calc man page and help/usage file to reflect recent
command line changes. command line changes.
Fixed a bug, reported by Michael Somos <somos@grail.cba.csuohio.edu>, Fixed a bug, reported by Michael Somos <somos at grail dot cba dot
which prevented calc -m from being used. csuohio dot edu>, which prevented calc -m from being used.
Fixed misc compiler warnings. Fixed misc compiler warnings.
@@ -697,7 +733,7 @@ The following are the changes from calc version 2.11.0t8 to 2.11.0t8.9:
The following are the changes from calc version 2.11.0t7 to 2.11.0t7.5: The following are the changes from calc version 2.11.0t7 to 2.11.0t7.5:
Calc has some new command line flags / command line meaning: Calc has some new command line flags / command line meaning:
(Thanks goes to Ernest Bowen <ernie@turing.une.edu.au>) (Thanks goes to Ernest Bowen <ernie at turing dot une dot edu dot au>)
-i Go into interactive mode if possible. -i Go into interactive mode if possible.
@@ -837,7 +873,7 @@ The following are the changes from calc version 2.11.0t7 to 2.11.0t7.5:
The main calc URL is now: The main calc URL is now:
http://reality.sgi.com/chongo/tech/comp/calc/ http://www.isthe.com/chongo/tech/comp/calc/
Misc calc man page fixes. Misc calc man page fixes.
@@ -868,7 +904,7 @@ The following are the changes from calc version 2.11.0t1 to 2.11.0t6.3:
Made some of the source a little more ++ friendly. We are NOT Made some of the source a little more ++ friendly. We are NOT
porting calc to C++! We will NOT support C++ compilation of calc. porting calc to C++! We will NOT support C++ compilation of calc.
Calc will written ANSI C. We just compiled with a suggestion from Calc will written ANSI C. We just compiled with a suggestion from
Love-Jensen, John <jlove-jensen@globalmt.com> to make calc's version Love-Jensen, John <jlove-jensen at globalmt dot com> to make calc's version
of C a little more to C++ compilers. We are simply avoiding symbols of C a little more to C++ compilers. We are simply avoiding symbols
such as new or try for example. such as new or try for example.
@@ -880,14 +916,14 @@ The following are the changes from calc version 2.11.0t1 to 2.11.0t6.3:
Reordered cc Makefile variable sets in the main Makefile. Reordered cc Makefile variable sets in the main Makefile.
Fixed a bug in hnrmod() and applied a fix that was reported by Ernest Fixed a bug in hnrmod() and applied a fix that was reported by Ernest
Bowen <ernie@turing.une.edu.au>. Added regression tests 1103 to Bowen <ernie at turing dot une dot edu dot au>. Added regression tests
1112 to confirm the fix. 1103 to 1112 to confirm the fix.
Fixed a bug in version.c related to MINOR_PATCHs in both the Fixed a bug in version.c related to MINOR_PATCHs in both the
empty and non-empty MINOR_PATCH cases. empty and non-empty MINOR_PATCH cases.
Fixed malloc and bad storage issues reported by Michel van der List Fixed malloc and bad storage issues reported by Michel van der List
<vanderlistmj@sbphrd.com>. <vanderlistmj at sbphrd dot com>.
Fixed some problems related to path processing while opening files. Fixed some problems related to path processing while opening files.
Under extreme cases, an excessively long filename or CALCPATH value Under extreme cases, an excessively long filename or CALCPATH value
@@ -909,10 +945,10 @@ The following are the changes from calc version 2.11.0t1 to 2.11.0t6.3:
section to the main Makefile. section to the main Makefile.
Fixed a string handling bug discovered by Dr.D.J.Picton Fixed a string handling bug discovered by Dr.D.J.Picton
<dave@aps5.ph.bham.ac.uk> in the custom demo code. <dave at aps5 dot ph dot bham dot ac dot uk> in the custom demo code.
Fixed a bug in the hnrmod() builtin that was discovered by Fixed a bug in the hnrmod() builtin that was discovered by
Ernest Bowen <ernie@neumann.une.edu.au>. Ernest Bowen <ernie at turing dot une dot edu dot au>.
Added FORCE_STDC symbol. When defined it will force __STDC__ like Added FORCE_STDC symbol. When defined it will force __STDC__ like
conditions. Thus for compilers with as the Solaris cc compiler conditions. Thus for compilers with as the Solaris cc compiler
@@ -957,11 +993,11 @@ The following are the changes from calc version 2.11.0t1 to 2.11.0t6.3:
Added seed() builtin to return a 64 bit seed for a Added seed() builtin to return a 64 bit seed for a
pseudo-random generator. pseudo-random generator.
Added functionality from Ernest Bowen <ernie@turing.une.edu.au> to Added functionality from Ernest Bowen <ernie at turing dot une dot
permit nested "= {...}" assignments for lists as well as matrices edu dot au> to permit nested "= {...}" assignments for lists as well
and objects. Now one can have a list, matrix or object, some of as matrices and objects. Now one can have a list, matrix or object,
whose elements are lists, matrices or objects, to any depth of some of whose elements are lists, matrices or objects, to any depth
recursion, and assign values to any number of particular elements of recursion, and assign values to any number of particular elements
by an appropriate "initialization" expression. For example: by an appropriate "initialization" expression. For example:
A = mat[2] = {list(1,2), list(3,4,list(5,6))}; A = mat[2] = {list(1,2), list(3,4,list(5,6))};
@@ -983,14 +1019,14 @@ The following are the changes from calc version 2.11.0t1 to 2.11.0t6.3:
Added custom function custom("pzasusb8", n) and lib/pzasusb8.cal based on Added custom function custom("pzasusb8", n) and lib/pzasusb8.cal based on
Ernest Bowen's diagnostic patch. Ernest Bowen's diagnostic patch.
Thanks to the efforts of Ernest Bowen <ernie@neumann.une.edu.au> and Thanks to the efforts of Ernest Bowen <ernie at turing dot une dot
Dr.D.J.Picton <dave@aps5.ph.bham.ac.uk>, a nasty endian-ness bug edu dot au> and Dr.D.J.Picton <dave at aps5 dot ph dot bham dot ac
in the sha and sha1 hash functions that showed up on machines such dot uk>, a nasty endian-ness bug in the sha and sha1 hash functions
as the Sparc was fixed. that showed up on machines such as the Sparc was fixed.
Added functionality from Ernest Bowen <ernie@turing.une.edu.au> Added functionality from Ernest Bowen <ernie at turing dot une
to give arguments as well as function names after definitions when dot edu dot au> to give arguments as well as function names after
config("lib_debug") >= 0. definitions when config("lib_debug") >= 0.
Removed if (config("lib_debug") >= 0) { ... } the ends of most Removed if (config("lib_debug") >= 0) { ... } the ends of most
of the calc library scripts because it was redundant with the of the calc library scripts because it was redundant with the
@@ -1015,12 +1051,12 @@ The following are the changes from calc version 2.11.0t1 to 2.11.0t6.3:
Increased the maximum number of object types that one can define Increased the maximum number of object types that one can define
from 10 to 128. from 10 to 128.
Added a patch from Ernest Bowen <ernie@turing.une.edu.au> Added a patch from Ernest Bowen <ernie at turing dot une dot edu
to correctly hash a V_STR value-type that has an \0 byte dot au> to correctly hash a V_STR value-type that has an \0 byte
inside it. inside it.
A patch from Ernest Bowen <ernie@turing.une.edu.au> now defines A patch from Ernest Bowen <ernie at turing dot une dot edu dot au> now
special meaning to the first 2 bits of config("lib_debug"): defines special meaning to the first 2 bits of config("lib_debug"):
bit 0 set => messages printed when inputisterminal bit 0 set => messages printed when inputisterminal
bit 1 set => messages printed when reading from a file bit 1 set => messages printed when reading from a file
@@ -1062,10 +1098,11 @@ The following are the changes from calc version 2.10.3t5.38 to 2.11.3t5.46:
Fixed previously reported bug in popcnt() in relation to . values. Fixed previously reported bug in popcnt() in relation to . values.
Calc man page changes per suggestion from Martin Buck Calc man page changes per suggestion from Martin Buck
<Martin-2.Buck@student.uni-ulm.de>. The calc man page is <Martin-2.Buck at student dot uni-ulm dot de>. The calc man page is
edited with a few more parameters from the Makefile. edited with a few more parameters from the Makefile.
Misc Makefile changes per Martin Buck <Martin-2.Buck@student.uni-ulm.de>. Misc Makefile changes per Martin Buck <Martin-2.Buck at student dot
uni-ulm dot de>.
Removed trailing blanks from files. Removed trailing blanks from files.
@@ -1123,7 +1160,7 @@ The following are the changes from calc version 2.10.3t5.34 to 2.10.3t5.37:
Since "make chk" pipes the regression output to awk, we cannot Since "make chk" pipes the regression output to awk, we cannot
assume that stdout and stderr are ttys. Tests #5985 and #5986 assume that stdout and stderr are ttys. Tests #5985 and #5986
have been removed for this reason. (thanks to Martin Buck have been removed for this reason. (thanks to Martin Buck
<Martin-2.Buck@student.uni-ulm.de> for this report) <Martin-2.Buck at student dot uni-ulm dot de> for this report)
Fixed the order of prints in regress.cal. By convention, a print Fixed the order of prints in regress.cal. By convention, a print
of a test line happens after the test. This is because function of a test line happens after the test. This is because function
@@ -1147,8 +1184,8 @@ The following are the changes from calc version 2.10.3t5.34 to 2.10.3t5.37:
Removed trailing blanks from files. Removed trailing blanks from files.
Ernest Bowen <ernie@turing.une.edu.au> sent in the following patch Ernest Bowen <ernie at turing dot une dot edu dot au> sent in the
which is described in the next 34 points: following patch which is described in the next 34 points:
(0) In the past: (0) In the past:
@@ -2697,7 +2734,8 @@ The following are the changes from calc version 2.10.3t0 to 2.10.3t2:
Fixed a casting problem in label.c. Fixed a casting problem in label.c.
A lot of work was performed on the code generation by Ernest Bowen A lot of work was performed on the code generation by Ernest Bowen
<ernie@neumann.une.edu.au>. Declarations no longer need to precese code: <ernie at turing dot une dot edu dot au>. Declarations no longer
need to precese code:
define f(x) { define f(x) {
local i = x^2; local i = x^2;
@@ -2854,8 +2892,8 @@ The following are the changes from calc version 2.10.2t33 to 2.10.2t34:
Fixed a bug related to fact(). Fixed a bug related to fact().
Thanks to Ernest Bowen <ernie@neumann.une.edu.au>, for two or three Thanks to Ernest Bowen <ernie at turing dot une dot edu dot au>,
arguments, for two or three arguments,
search(x, val, start); search(x, val, start);
rsearch(x, val, start); rsearch(x, val, start);
@@ -2963,7 +3001,7 @@ The following are the changes from calc version 2.10.2t25 to 2.10.2t32:
Added pix.cal, a slow painful but interesting way to compute pix(x). Added pix.cal, a slow painful but interesting way to compute pix(x).
Confusion over the scope of static and global values has been reduced Confusion over the scope of static and global values has been reduced
by a patch from Ernest Bowen <ernie@neumann.une.edu.au>. by a patch from Ernest Bowen <ernie at turing dot une dot edu dot au>.
The change introduced by the following patch terminates the The change introduced by the following patch terminates the
scope of a static variable at any static declaration with the scope of a static variable at any static declaration with the
@@ -3161,10 +3199,10 @@ The following are the changes from calc version 2.10.2t4 to 2.10.2t24:
> demo() > demo()
Added a new trace option for display of links to real and complex Added a new trace option for display of links to real and complex
numbers. This is activated by config("trace", 4). The printing numbers. This is activated by config("trace", 4). The printing of
of a real number is immediately followed by "#" and the number of a real number is immediately followed by "#" and the number of links
links to that number; complex numbers are printed in the same to that number; complex numbers are printed in the same except for
except for having "##" instead of "#". <ernie@neumann.une.edu.au> having "##" instead of "#". <ernie at turing dot une dot edu dot au>
The number of links for a number value is essentially the number of value The number of links for a number value is essentially the number of value
locations at which it is either stored or deemed to be stored. Here a locations at which it is either stored or deemed to be stored. Here a
@@ -3584,9 +3622,9 @@ The following are the changes from calc version 2.10.1t21 to 2.10.2t0:
All builtin functions have help files! While a number need cleanup All builtin functions have help files! While a number need cleanup
and some of the LIMITS, LIBRARY and SEE ALSO sections need fixing and some of the LIMITS, LIBRARY and SEE ALSO sections need fixing
(or are missing), most of it is there. A Big round of thanks goes (or are missing), most of it is there. A Big round of thanks goes to
to <ernie@neumann.une.edu.au> for his efforts in initial write-ups <ernie at turing dot une dot edu dot au> for his efforts in initial
for many of these files! write-ups for many of these files!
The recognition of '\' as an escape character in the format argument The recognition of '\' as an escape character in the format argument
of printf() has been dropped. Thus: of printf() has been dropped. Thus:
@@ -3594,7 +3632,7 @@ The following are the changes from calc version 2.10.1t21 to 2.10.2t0:
printf("\\n"); printf("\\n");
will print the two-character string "\n" rather than the a will print the two-character string "\n" rather than the a
one-character carriage return. <ernie@neumann.une.edu.au> one-character carriage return. <ernie at turing dot une dot edu dot au>
Missing args to printf-like functions will be treated as null values. Missing args to printf-like functions will be treated as null values.
@@ -3614,10 +3652,10 @@ The following are the changes from calc version 2.10.1t21 to 2.10.2t0:
b = "print 27+" b = "print 27+"
eval(b) eval(b)
has been fixed. <ernie@neumann.une.edu.au> has been fixed. <ernie at turing dot une dot edu dot au>
Fixed bugs in zio.c which caused eval(str(x)) == x to fail Fixed bugs in zio.c which caused eval(str(x)) == x to fail
in non-real modes such as "oct". <ernie@neumann.une.edu.au> in non-real modes such as "oct". <ernie at turing dot une dot edu dot au>
The following: The following:
@@ -3628,12 +3666,12 @@ The following are the changes from calc version 2.10.1t21 to 2.10.2t0:
for (i = 1; i < 10; i++) print i^2,; for (i = 1; i < 10; i++) print i^2,;
The show globals will print '...' in the middle of large values. The show globals will print '...' in the middle of large values.
<ernie@neumann.une.edu.au> <ernie at turing dot une dot edu dot au>
The param(n) builtin, then n > 0, returns the address rather than The param(n) builtin, then n > 0, returns the address rather than
the value of the n-th argument to save time and memory usage. This the value of the n-th argument to save time and memory usage. This
is useful when a matrix with big number entries is passed as an arg. is useful when a matrix with big number entries is passed as an arg.
<ernie@neumann.une.edu.au> <ernie at turing dot une dot edu dot au>
The param(n) builtin, then n > 0, may be used as an lvalue: The param(n) builtin, then n > 0, may be used as an lvalue:
@@ -3658,7 +3696,7 @@ The following are the changes from calc version 2.10.1t20 to 2.10.1t20:
Changes made in preparation for Blum Blum Shub random number generator. Changes made in preparation for Blum Blum Shub random number generator.
REDC bug fixes: <ernie@neumann.une.edu.au> REDC bug fixes: <ernie at turing dot une dot edu dot au>
Fixed yet another bug in zdiv which occasionally caused the "top digit" Fixed yet another bug in zdiv which occasionally caused the "top digit"
of a nonzero quotient to be zero. of a nonzero quotient to be zero.
@@ -3666,29 +3704,31 @@ The following are the changes from calc version 2.10.1t20 to 2.10.1t20:
Fixed a bug in zredcmul() where a rarely required "topdigit" is Fixed a bug in zredcmul() where a rarely required "topdigit" is
sometimes lost rather than added to the appropriate carry. sometimes lost rather than added to the appropriate carry.
A new function zredcmodinv(ZVALUE z, ZVALUE *res) has been defined for A new function zredcmodinv(ZVALUE z, ZVALUE *res) has been defined
evaluating rp->inv in zredcalloc(). <ernie@neumann.une.edu.au> for evaluating rp->inv in zredcalloc(). <ernie at turing dot une
dot edu dot au>
New functions zmod5(ZVALUE *zp) and zmod6(ZVALUE z, ZVALUE *res) have New functions zmod5(ZVALUE *zp) and zmod6(ZVALUE z, ZVALUE *res)
been defined to give O(N^1.585)-runtime evaluation of z % m for have been defined to give O(N^1.585)-runtime evaluation of z % m
large N-word m. These require m and BASE^(2*N) // m to have been for large N-word m. These require m and BASE^(2*N) // m to have
stored at named locations lastmod, lastmodinv. zmod5() is essentially been stored at named locations lastmod, lastmodinv. zmod5() is
for internal use by zmod6() and zpowermod(). <ernie@neumann.une.edu.au> essentially for internal use by zmod6() and zpowermod(). <ernie at
turing dot une dot edu dot au>
Changes to rcmul(x,y,m) so that the result is always in [0, m-1]. Changes to rcmul(x,y,m) so that the result is always in [0, m-1].
<ernie@neumann.une.edu.au> <ernie at turing dot une dot edu dot au>
Changes to some of the detail of zredcmul() so that it should run slightly Changes to some of the detail of zredcmul() so that it should run slightly
faster. Also changes to zredcsq() in the hope that it might achieve faster. Also changes to zredcsq() in the hope that it might achieve
something like the improvement in speed of x^2 compared with x * x. something like the improvement in speed of x^2 compared with x * x.
<ernie@neumann.une.edu.au> <ernie at turing dot une dot edu dot au>
A new "bignum" algorithm for evaluating pmod(x,k,m) when A new "bignum" algorithm for evaluating pmod(x,k,m) when
N >= config("pow2"). For the multiplications and squarings N >= config("pow2"). For the multiplications and squarings
modulo m, or their equivalent, when N >= config("redc2"), modulo m, or their equivalent, when N >= config("redc2"),
calc has used evaluations correponding to rcout(x * y, m), calc has used evaluations correponding to rcout(x * y, m),
for which the runtime is essentially that of three multiplications. for which the runtime is essentially that of three multiplications.
<ernie@neumann.une.edu.au> <ernie at turing dot une dot edu dot au>
Yet more additions to the regress.cal test suite. Yet more additions to the regress.cal test suite.
@@ -3697,24 +3737,24 @@ The following are the changes from calc version 2.10.1t20 to 2.10.1t20:
Plugs some potential memory leaks in definitions in func.c. Plugs some potential memory leaks in definitions in func.c.
Expressions such as qlink(vals[2]) in some circumstances are Expressions such as qlink(vals[2]) in some circumstances are
neither qfreed nor returned as function values. neither qfreed nor returned as function values.
<ernie@neumann.une.edu.au> <ernie at turing dot une dot edu dot au>
The nextcand() and prevcand() functions handle modval, modulus The nextcand() and prevcand() functions handle modval, modulus
and skip by using ZVALUE rather than ZVALUE * and dropping and skip by using ZVALUE rather than ZVALUE * and dropping
the long modulus, etc. <ernie@neumann.une.edu.au> the long modulus, etc. <ernie at turing dot une dot edu dot au>
Changed a couple of occurrences of itoq(1) or itoq(0) to &_qone_ Changed a couple of occurrences of itoq(1) or itoq(0) to &_qone_
and &_qzero_. <ernie@neumann.une.edu.au> and &_qzero_. <ernie at turing dot une dot edu dot au>
In definition of f_primetest, changed ztolong(q2->num) to ztoi(q2->num) In definition of f_primetest, changed ztolong(q2->num) to ztoi(q2->num)
so that the sign of count in ptest(n, count, skip) is not lost; and so that the sign of count in ptest(n, count, skip) is not lost; and
ztolong(q3->num) to q3->num so that skip can be any integer. ztolong(q3->num) to q3->num so that skip can be any integer.
<ernie@neumann.une.edu.au> <ernie at turing dot une dot edu dot au>
In zprime.c, in definition of small_factor(), adds "&& *tp != 1" to In zprime.c, in definition of small_factor(), adds "&& *tp != 1" to
the exit condition in the for loop so that searching for a factor the exit condition in the for loop so that searching for a factor
will continue beyond the table of primes, as required for e.g. will continue beyond the table of primes, as required for e.g.
factor(2^59 - 1). <ernie@neumann.une.edu.au> factor(2^59 - 1). <ernie at turing dot une dot edu dot au>
Changed zprimetest() so that skip in ptest(n, count, skip) Changed zprimetest() so that skip in ptest(n, count, skip)
determines the way bases for the tests are selected. Neg values of determines the way bases for the tests are selected. Neg values of
@@ -3728,23 +3768,24 @@ The following are the changes from calc version 2.10.1t20 to 2.10.1t20:
to 3/4 as 6/8 or 9/12, etc. A simple summary of the way negative n to 3/4 as 6/8 or 9/12, etc. A simple summary of the way negative n
is treated is "the sign is ignored". E.g. isprime(-97) and is treated is "the sign is ignored". E.g. isprime(-97) and
nextprime(-97) now return the same as isprime(97) and nextprime(97). nextprime(-97) now return the same as isprime(97) and nextprime(97).
<ernie@neumann.une.edu.au> <ernie at turing dot une dot edu dot au>
The following are the changes from calc version 2.10.1t11 to 2.10.1t19: The following are the changes from calc version 2.10.1t11 to 2.10.1t19:
Added many more regression tests to lib/regress.cal. Some Added many more regression tests to lib/regress.cal. Some
due to <ernie@neumann.une.edu.au>. due to <ernie at turing dot une dot edu dot au>.
Added many help files, most due to <ernie@neumann.une.edu.au>. Added many help files, most due to <ernie at turing dot une dot edu dot au>.
Fixed exp() and ln() so that when they return a complex value with a Fixed exp() and ln() so that when they return a complex value with
zero imaginary component, isreal() is true. <ernie@neumann.une.edu.au> a zero imaginary component, isreal() is true. <ernie at turing dot
une dot edu dot au>
Fixed cast problem in byteswap.c. <ernie@neumann.une.edu.au> Fixed cast problem in byteswap.c. <ernie at turing dot une dot edu dot au>
Fixed memory leak problem where repeated assignments did not Fixed memory leak problem where repeated assignments did not
free the previous value. <ernie@neumann.une.edu.au> free the previous value. <ernie at turing dot une dot edu dot au>
Complex number ordering/comparison has been changed such that: Complex number ordering/comparison has been changed such that:
@@ -3799,11 +3840,12 @@ The following are the changes from calc version 2.10.1t11 to 2.10.1t19:
Added quo(x,y,rnd) and mod(x,y,rnd) to give function interfaces Added quo(x,y,rnd) and mod(x,y,rnd) to give function interfaces
to // and % with rounding mode arguments. Extended these functions to // and % with rounding mode arguments. Extended these functions
to work for list-values, complex numbers and matrices. to work for list-values, complex numbers and matrices.
<ernie@neumann.une.edu.au> <ernie at turing dot une dot edu dot au>
For integer x, cfsim(x,8) returns 0. <ernie@neumann.une.edu.au> For integer x, cfsim(x,8) returns 0.
<ernie at turing dot une dot edu dot au>
Fixed config("leadzero"). <ernie@neumann.une.edu.au> Fixed config("leadzero"). <ernie at turing dot une dot edu dot au>
Set config("cfsim",8) by default (in "oldstd"). Setup initial idea for Set config("cfsim",8) by default (in "oldstd"). Setup initial idea for
config("all", "newstd") to be the default with the following changes: config("all", "newstd") to be the default with the following changes:
@@ -3825,7 +3867,8 @@ The following are the changes from calc version 2.10.1t11 to 2.10.1t19:
SWAP_HALF_IN_DEV and SWAP_HALF_IN_STSIZE. SWAP_HALF_IN_DEV and SWAP_HALF_IN_STSIZE.
Added sec(), csc(), cot(), sech(), csch(), coth(), asec(), acsc(), Added sec(), csc(), cot(), sech(), csch(), coth(), asec(), acsc(),
acot(), asech(), acsch() and acoth() builtins. <ernie@neumann.une.edu.au> acot(), asech(), acsch() and acoth() builtins. <ernie at turing dot
une dot edu dot au>
The initmasks() call is no longer needed. The bitmask[] array The initmasks() call is no longer needed. The bitmask[] array
is a compiled into zmath.c directly. is a compiled into zmath.c directly.
@@ -3862,10 +3905,12 @@ The following are the changes from calc version 2.10.1t11 to 2.10.1t19:
/*NOTREACHED*/ /*NOTREACHED*/
} }
The ploy() function can take a list of coefficients. See The ploy() function can take a list of coefficients. See the
the help/poly file. Added poly.c. <ernie@neumann.une.edu.au> help/poly file. Added poly.c. <ernie at turing dot une dot edu
dot au>
Fixes and performance improvemtns to det(). <ernie@neumann.une.edu.au> Fixes and performance improvemtns to det(). <ernie at turing dot
une dot edu dot au>
Renamed atoq() and atoz() to str2q() and str2z() to avoid conflicts Renamed atoq() and atoz() to str2q() and str2z() to avoid conflicts
with libc function names. with libc function names.
@@ -3876,7 +3921,7 @@ The following are the changes from calc version 2.10.1t11 to 2.10.1t19:
long long or with LONGLONG_BITS=0. long long or with LONGLONG_BITS=0.
Added error() and iserror() to generate a value of a given error type. Added error() and iserror() to generate a value of a given error type.
See help/error for details. <ernie@neumann.une.edu.au> See help/error for details. <ernie at turing dot une dot edu dot au>
Added singular forms of help files. For example one can now get Added singular forms of help files. For example one can now get
help for binding, bug, change, errorcode and type. help for binding, bug, change, errorcode and type.
@@ -3885,22 +3930,23 @@ The following are the changes from calc version 2.10.1t11 to 2.10.1t19:
mod(x, md, 16). The old mmin(x, md) required md to be a positive mod(x, md, 16). The old mmin(x, md) required md to be a positive
integer and x to be an integer. Now md can be any real number; x integer and x to be an integer. Now md can be any real number; x
can be real, complex, or a matrix or list with real elements, etc. can be real, complex, or a matrix or list with real elements, etc.
<ernie@neumann.une.edu.au> <ernie at turing dot une dot edu dot au>
The builtin avg(x_1, x_2, ...) has been changed to accept list-valued The builtin avg(x_1, x_2, ...) has been changed to accept list-valued
arguments: a list x_i contributes its elements to the list of items to arguments: a list x_i contributes its elements to the list of
be averaged. E.g. avg(list(1,2,list(3,4)),5) is treated as if it were items to be averaged. E.g. avg(list(1,2,list(3,4)),5) is treated
avg(1,2,3,4,5). If an error value is encountered in the items to be as if it were avg(1,2,3,4,5). If an error value is encountered in
averaged, the first such value is returned. If the number of items to be the items to be averaged, the first such value is returned. If the
averaged is zero, the null value is returned. <ernie@neumann.une.edu.au> number of items to be averaged is zero, the null value is returned.
<ernie at turing dot une dot edu dot au>
The builtin hmean(x_1, x_2, ...) has been changed to admit types The builtin hmean(x_1, x_2, ...) has been changed to admit types
other than real for x_1, x_2, ...; list arguments are treated in other than real for x_1, x_2, ...; list arguments are treated in
the same way as in avg(). <ernie@neumann.une.edu.au> the same way as in avg(). <ernie at turing dot une dot edu dot au>
The builtin eval(str) has been changed so that when str has a The builtin eval(str) has been changed so that when str has a
syntax error, instead of call to math_error(), an error value is syntax error, instead of call to math_error(), an error value is
returned. <ernie@neumann.une.edu.au> returned. <ernie at turing dot une dot edu dot au>
The old frem(x,y) builtin returned the wrong value when y was a power of The old frem(x,y) builtin returned the wrong value when y was a power of
2 greater than 2, e.g. f(8,4) is returned as 4 when its value should be 2. 2 greater than 2, e.g. f(8,4) is returned as 4 when its value should be 2.
@@ -3911,8 +3957,7 @@ The following are the changes from calc version 2.10.1t11 to 2.10.1t19:
Both frem(x,y) and gcdrem(x,y) now reject y = -1, 0 or 1 as errors. For Both frem(x,y) and gcdrem(x,y) now reject y = -1, 0 or 1 as errors. For
nonzero x, and y == -1 or 1, defining frem(x,y) and gcdrem(x,y) to equal nonzero x, and y == -1 or 1, defining frem(x,y) and gcdrem(x,y) to equal
abs(x) is almost as natural as defining x^0 to be 1. Similarly, if x is abs(x) is almost as natural as defining x^0 to be 1. Similarly, if x is
not zero then gcdrem(x,0) == 1. not zero then gcdrem(x,0) == 1. <ernie at turing dot une dot edu dot au>
<ernie@neumann.une.edu.au>
Plugged some more memory leaks. Plugged some more memory leaks.
@@ -3928,7 +3973,7 @@ The following are the changes from calc version 2.10.1t11 to 2.10.1t19:
Fixed bug that would put calc into an infinite loop if it is ran Fixed bug that would put calc into an infinite loop if it is ran
with errors in startup files (calc/startup, .calcrc). with errors in startup files (calc/startup, .calcrc).
Ha Lam <hl@kuhep5.phsx.ukans.edu> Ha Lam <hl at kuhep5 dot phsx dot ukans dot edu>
The following are the changes from calc version 2.10.0t13 to 2.10.1t10: The following are the changes from calc version 2.10.0t13 to 2.10.1t10:
@@ -3969,13 +4014,13 @@ The following are the changes from calc version 2.10.0t13 to 2.10.1t10:
defines the default CALCBINDINGS is "bindings" (or "altbind") which defines the default CALCBINDINGS is "bindings" (or "altbind") which
is now usualy found in ./lib or ${LIBDIR}. is now usualy found in ./lib or ${LIBDIR}.
Per Ernest Bowen <ernie@neumann.une.edu.au>, an optional third argument Per Ernest Bowen <ernie at turing dot une dot edu dot au>, an optional
was added sqrt() so that in sqrt(x,y,z), y and z have essentially the third argument was added sqrt() so that in sqrt(x,y,z), y and z have
same role as in appr(x,y,z) except that of course what is being essentially the same role as in appr(x,y,z) except that of course
approximated is the sqrt of x. Another difference is that two more what is being approximated is the sqrt of x. Another difference is
bits of z are used in sqrt: bit 5 gives the option of exact results that two more bits of z are used in sqrt: bit 5 gives the option of
when they exist (the value of y is then ignored) and bit 6 returns exact results when they exist (the value of y is then ignored) and
the nonprincipal root rather than the principal value. bit 6 returns the nonprincipal root rather than the principal value.
If commands are given on the command line, leading tabs are not If commands are given on the command line, leading tabs are not
printed in output. Giving a command on the command line implies printed in output. Giving a command on the command line implies
@@ -4116,20 +4161,21 @@ The following are the changes from calc version 2.9.3t9.2+ to 2.9.3t10:
Added getenv("name"), putenv("name=val") and putenv("name, "val") Added getenv("name"), putenv("name=val") and putenv("name, "val")
builts for environment variable support thanks to "Dr." "D.J." Picton builts for environment variable support thanks to "Dr." "D.J." Picton
<dave@aps2.ph.bham.ac.uk>. <dave at aps2 dot ph dot bham dot ac dot uk>.
Added system("shell command") builtin to execute shell commands, Added system("shell command") builtin to execute shell commands,
thanks to "Dr." "D.J." Picton <dave@aps2.ph.bham.ac.uk>. thanks to "Dr." "D.J." Picton <dave at aps2 dot ph dot bham dot ac dot uk>.
Added isatty(fd) builtin to determine if fd is attached to a tty Added isatty(fd) builtin to determine if fd is attached to a tty
thanks to "Dr." "D.J." Picton <dave@aps2.ph.bham.ac.uk>. thanks to "Dr." "D.J." Picton <dave at aps2 dot ph dot bham dot ac dot uk>.
Added cmdbuf() builtin to return the command line executed by calc's Added cmdbuf() builtin to return the command line executed by calc's
command line args thanks to "Dr." "D.J." Picton <dave@aps2.ph.bham.ac.uk>. command line args thanks to "Dr." "D.J." Picton <dave at aps2 dot
ph dot bham dot ac dot uk>.
Added strpos(str1,str2) builtin to determine the first position where Added strpos(str1,str2) builtin to determine the first position where
str2 is found in str1 thanks to "Dr." "D.J." Picton str2 is found in str1 thanks to "Dr." "D.J." Picton
<dave@aps2.ph.bham.ac.uk>. <dave at aps2 dot ph dot bham dot ac dot uk>.
Fixed bug that caused: Fixed bug that caused:
@@ -4148,10 +4194,10 @@ The following are the changes from calc version 2.9.3t9.2+ to 2.9.3t10:
do the same thing. do the same thing.
Added show config to print the config values and parameters thanks Added show config to print the config values and parameters thanks
to Ernest Bowen <ernie@neumann.une.edu.au>. to Ernest Bowen <ernie at turing dot une dot edu dot au>.
Added show objtypes to print the defined objects thanks to Ernest Bowen Added show objtypes to print the defined objects thanks to Ernest Bowen
<ernie@neumann.une.edu.au>. <ernie at turing dot une dot edu dot au>.
Added more builtin function help files. Added more builtin function help files.
@@ -4168,13 +4214,14 @@ The following are the changes from calc version 2.9.3t9.2+ to 2.9.3t10:
1 to 100 values to a list. 1 to 100 values to a list.
Added reverse() and join() builtins to reverse and join lists Added reverse() and join() builtins to reverse and join lists
thanks to Ernest Bowen <ernie@neumann.une.edu.au>. thanks to Ernest Bowen <ernie at turing dot une dot edu dot au>.
Added sort() builtin to sort lists thanks to Ernest Bowen Added sort() builtin to sort lists thanks to Ernest Bowen
<ernie@neumann.une.edu.au>. <ernie at turing dot une dot edu dot au>.
Added head(), segment() and tail() builtins to return the head, middle or Added head(), segment() and tail() builtins to return the head,
tail of lists thanks to Ernest Bowen <ernie@neumann.une.edu.au>. middle or tail of lists thanks to Ernest Bowen <ernie at turing dot
une dot edu dot au>.
Added more and fixed some help files. Added more and fixed some help files.
@@ -4362,8 +4409,8 @@ The following are the changes from calc version 2.9.3t8 to 2.9.3t9.2:
Added matsum() to sum all numeric values in a matrix. Added matsum() to sum all numeric values in a matrix.
The following code now works, thanks to a fix by ernie@neumann.une.edu.au The following code now works, thanks to a fix by <ernie at turing
(Ernest Bowen): dot une dot edu dot au> (Ernest Bowen):
mat A[3] = {1, 2, 3}; mat A[3] = {1, 2, 3};
A[0] = A; A[0] = A;
@@ -4421,14 +4468,14 @@ The following are the changes from calc version 2.9.3t7 to 2.9.3t7:
The 'show' command by itself will issue an error message The 'show' command by itself will issue an error message
that will remind one of the possible show arguments. that will remind one of the possible show arguments.
(thanks to Ha S. Lam <hl@kuhep4.phsx.ukans.edu>) (thanks to Ha S. Lam <hl at kuhep4 dot phsx dot ukans dot edu>)
Fixed an ANSI-C related problem with the use of stringindex() Fixed an ANSI-C related problem with the use of stringindex()
by the show command. ANSI-C interprets "bar\0foo..." as if by the show command. ANSI-C interprets "bar\0foo..." as if
it were "bar\017oo...". it were "bar\017oo...".
Added a cd command to change the current directory. Added a cd command to change the current directory.
(thanks to Ha S. Lam <hl@kuhep4.phsx.ukans.edu>) (thanks to Ha S. Lam <hl at kuhep4 dot phsx dot ukans dot edu>)
Calc will not output the initial version string, startup Calc will not output the initial version string, startup
message and command prompt if stdin is not a tty. Thus message and command prompt if stdin is not a tty. Thus
@@ -4436,7 +4483,8 @@ The following are the changes from calc version 2.9.3t7 to 2.9.3t7:
echo "fact(100)" | calc echo "fact(100)" | calc
only prints the result. (thanks to Ha S. Lam <hl@kuhep4.phsx.ukans.edu>) only prints the result. (thanks to Ha S. Lam <hl at kuhep4 dot phsx
dot ukans dot edu>)
The zmath.h macro zisbig() macro was replaced with zlt16b(), The zmath.h macro zisbig() macro was replaced with zlt16b(),
zge24b(), zge31b(), zge32b() and zgtmaxfull() which are zge24b(), zge31b(), zge32b() and zgtmaxfull() which are
@@ -4454,12 +4502,12 @@ The following are the changes from calc version 2.9.3t7 to 2.9.3t7:
a value to 2^31 decimal digit places. One cannot compute a value to 2^31 decimal digit places. One cannot compute
the Fibonacci number F(2^31). the Fibonacci number F(2^31).
Andy Fingerhut <jaf@dworkin.wustl.edu> (thanks!) supplied a fix to Andy Fingerhut <jaf at dworkin dot wustl dot edu> (thanks!) supplied
a subtle bug in the code generation routines. The basic problem was a fix to a subtle bug in the code generation routines. The basic
that addop() is sometimes used to add a label to the opcode table problem was that addop() is sometimes used to add a label to
of a function. The addop() function did some optimization tricks, the opcode table of a function. The addop() function did some
and if one of these labels happens to be an opcode that triggers optimization tricks, and if one of these labels happens to be an
optimization, incorrect opcodes were generated. opcode that triggers optimization, incorrect opcodes were generated.
Added utoz(), ztou() to zmath.c, and utoq(), qtou() to qmath.c Added utoz(), ztou() to zmath.c, and utoq(), qtou() to qmath.c
in preparation for 2.9.3t9 mods. in preparation for 2.9.3t9 mods.
@@ -4718,12 +4766,12 @@ Following is a list of visible changes to calc from version 1.24.7 to 1.26.1:
## received a copy with calc; if not, write to Free Software Foundation, Inc. ## received a copy with calc; if not, write to Free Software Foundation, Inc.
## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
## ##
## @(#) $Revision: 29.5 $ ## @(#) $Revision: 29.11 $
## @(#) $Id: CHANGES,v 29.5 1999/12/17 10:36:02 chongo Exp $ ## @(#) $Id: CHANGES,v 29.11 2000/06/07 15:51:35 chongo Exp $
## @(#) $Source: /usr/local/src/cmd/calc/RCS/CHANGES,v $ ## @(#) $Source: /usr/local/src/cmd/calc/RCS/CHANGES,v $
## ##
## Under source code control: 1993/06/02 18:12:57 ## Under source code control: 1993/06/02 18:12:57
## File existed as early as: 1989 ## File existed as early as: 1989
## ##
## chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ ## chongo <was here> /\oo/\ http://www.isthe.com/chongo/
## Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ ## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/

30
COPYING
View File

@@ -12,8 +12,8 @@ This file is Copyrighted
Everyone is permitted to copy and distribute verbatim copies Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed. of this license document, but changing it is not allowed.
# @(#) $Revision: 29.1 $ # @(#) $Revision: 29.2 $
# @(#) $Id: COPYING,v 29.1 1999/12/14 09:15:29 chongo Exp $ # @(#) $Id: COPYING,v 29.2 2000/06/07 14:02:13 chongo Exp $
# @(#) $Source: /usr/local/src/cmd/calc/RCS/COPYING,v $ # @(#) $Source: /usr/local/src/cmd/calc/RCS/COPYING,v $
=-= =-=
@@ -55,16 +55,28 @@ Calc is covered by the GNU Lesser General Public License
The contact addresses for calc is as follows: The contact addresses for calc is as follows:
Web: http://reality.sgi.com/chongo/tech/comp/calc/index.html Web: http://www.isthe.com/chongo/tech/comp/calc/index.html
http://www.isthe.com/chongo/tech/comp/calc/index.html EMail: calc-contrib at asthe dot com
EMail: calc-tester at postofc dot corp dot sgi dot com To join the calc-tester mailing list. Send a request to:
calc-tester at isthe dot com
[[ Replace 'at' with @, 'dot' is with . and remove spaces ]] calc-tester-request at asthe dot com
The 2nd address set is provided in case the 1st address set no Your message body (not the subject) should consist of:
longer functions.
subscribe calc-tester address
end
name your_full_name
where ``address'' is your EMail address and ``your_full_name'' is
your full name.
Calc bug reports, however should be sent to:
calc-bugs at asthe dot com
[[ NOTE: Replace 'at' with @, 'dot' is with . and remove the spaces ]]
[[ NOTE: The EMail address uses 'asthe' and the web site URL uses 'isthe' ]]
=-= =-=

View File

@@ -65,12 +65,12 @@ the calc help subsystem. See the README file for details.
## received a copy with calc; if not, write to Free Software Foundation, Inc. ## received a copy with calc; if not, write to Free Software Foundation, Inc.
## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
## ##
## @(#) $Revision: 29.1 $ ## @(#) $Revision: 29.2 $
## @(#) $Id: HOWTO.INSTALL,v 29.1 1999/12/14 09:15:29 chongo Exp $ ## @(#) $Id: HOWTO.INSTALL,v 29.2 2000/06/07 14:02:13 chongo Exp $
## @(#) $Source: /usr/local/src/cmd/calc/RCS/HOWTO.INSTALL,v $ ## @(#) $Source: /usr/local/src/cmd/calc/RCS/HOWTO.INSTALL,v $
## ##
## Under source code control: 1999/09/27 20:48:44 ## Under source code control: 1999/09/27 20:48:44
## File existed as early as: 1999 ## File existed as early as: 1999
## ##
## chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ ## chongo <was here> /\oo/\ http://www.isthe.com/chongo/
## Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ ## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/

View File

@@ -471,12 +471,12 @@ need call libcalc_call_me_last() only once.
## received a copy with calc; if not, write to Free Software Foundation, Inc. ## received a copy with calc; if not, write to Free Software Foundation, Inc.
## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
## ##
## @(#) $Revision: 29.1 $ ## @(#) $Revision: 29.2 $
## @(#) $Id: LIBRARY,v 29.1 1999/12/14 09:15:29 chongo Exp $ ## @(#) $Id: LIBRARY,v 29.2 2000/06/07 14:02:13 chongo Exp $
## @(#) $Source: /usr/local/src/cmd/calc/RCS/LIBRARY,v $ ## @(#) $Source: /usr/local/src/cmd/calc/RCS/LIBRARY,v $
## ##
## Under source code control: 1993/07/30 19:44:49 ## Under source code control: 1993/07/30 19:44:49
## File existed as early as: 1993 ## File existed as early as: 1993
## ##
## chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ ## chongo <was here> /\oo/\ http://www.isthe.com/chongo/
## Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ ## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/

View File

@@ -20,15 +20,15 @@
# received a copy with calc; if not, write to Free Software Foundation, Inc. # received a copy with calc; if not, write to Free Software Foundation, Inc.
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
# #
# @(#) $Revision: 29.5 $ # @(#) $Revision: 29.9 $
# @(#) $Id: Makefile.ship,v 29.5 1999/12/17 09:07:35 chongo Exp $ # @(#) $Id: Makefile.ship,v 29.9 2000/06/07 15:50:19 chongo Exp $
# @(#) $Source: /usr/local/src/cmd/calc/RCS/Makefile.ship,v $ # @(#) $Source: /usr/local/src/cmd/calc/RCS/Makefile.ship,v $
# #
# Under source code control: 1990/02/15 01:48:41 # Under source code control: 1990/02/15 01:48:41
# File existed as early as: before 1990 # File existed as early as: before 1990
# #
# chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ # chongo <was here> /\oo/\ http://www.isthe.com/chongo/
# Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ # Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
# #
# calculator by David I. Bell with help/mods from others # calculator by David I. Bell with help/mods from others
# Makefile by Landon Curt Noll # Makefile by Landon Curt Noll
@@ -2084,7 +2084,7 @@ have_urandom.h: ${MAKE_FILE}
${Q}echo '' >> have_urandom.h ${Q}echo '' >> have_urandom.h
${Q}echo '' >> have_urandom.h ${Q}echo '' >> have_urandom.h
${Q}echo '/* do we have /dev/urandom? */' >> have_urandom.h ${Q}echo '/* do we have /dev/urandom? */' >> have_urandom.h
-${Q}if [ -c /dev/urandom ]; then \ -${Q}if [ -e /dev/urandom ] 2>/dev/null; then \
echo '#define HAVE_URANDOM_H /* yes */' >> have_urandom.h; \ echo '#define HAVE_URANDOM_H /* yes */' >> have_urandom.h; \
else \ else \
echo '#undef HAVE_URANDOM_H /* no */' >> have_urandom.h; \ echo '#undef HAVE_URANDOM_H /* no */' >> have_urandom.h; \
@@ -2397,7 +2397,11 @@ sample/sample:
status="$$?"; \ status="$$?"; \
if [ "$$status" -ne 0 ]; then \ if [ "$$status" -ne 0 ]; then \
echo "$$status" > ../.sample_error; \ echo "$$status" > ../.sample_error; \
else \
true ; \
fi; \ fi; \
else \
true ; \
fi fi
${Q}if [ -f .sample_error ]; then \ ${Q}if [ -f .sample_error ]; then \
echo "sample make failed, code: `cat .sample_error`" 1>&2; \ echo "sample make failed, code: `cat .sample_error`" 1>&2; \
@@ -3316,6 +3320,7 @@ func.o: have_malloc.h
func.o: have_memmv.h func.o: have_memmv.h
func.o: have_newstr.h func.o: have_newstr.h
func.o: have_stdlib.h func.o: have_stdlib.h
func.o: have_strdup.h
func.o: have_string.h func.o: have_string.h
func.o: have_times.h func.o: have_times.h
func.o: have_unistd.h func.o: have_unistd.h

22
README
View File

@@ -4,7 +4,7 @@ See the HOWTO.INSTALL file for information on how to build and install calc.
To be sure that your version of calc is up to date, check out: To be sure that your version of calc is up to date, check out:
http://reality.sgi.com/chongo/tech/comp/calc/calc-download.html http://www.isthe.com/chongo/tech/comp/calc/calc-download.html
We are interested in any/all feedback on recent versions of calc. We are interested in any/all feedback on recent versions of calc.
In particular we would like to hear about: In particular we would like to hear about:
@@ -75,9 +75,10 @@ for a wish/todo list. Code contributions are welcome.
To join the calc-tester mailing list. Send a request to: To join the calc-tester mailing list. Send a request to:
calc-tester-request at postofc dot corp dot sgi dot com calc-tester-request at asthe dot com
[[ Replace 'at' with @, 'dot' is with . and remove the spaces ]] [[ NOTE: Replace 'at' with @, 'dot' is with . and remove the spaces ]]
[[ NOTE: The EMail address uses 'asthe' and the web site URL uses 'isthe' ]]
Your message body (not the subject) should consist of: Your message body (not the subject) should consist of:
@@ -90,15 +91,16 @@ your full name.
Calc bug reports, however should be sent to: Calc bug reports, however should be sent to:
calc-bugs at postofc dot corp dot sgi dot com calc-bugs at asthe dot com
[[ Replace 'at' with @, 'dot' is with . and remove the spaces ]] [[ NOTE: Replace 'at' with @, 'dot' is with . and remove the spaces ]]
[[ NOTE: The EMail address uses 'asthe' and the web site URL uses 'isthe' ]]
but see the BUGS file first. but see the BUGS file first.
The calc web site is located at: The calc web site is located at:
http://reality.sgi.com/chongo/tech/comp/calc/ http://www.isthe.com/chongo/tech/comp/calc/
## Copyright (C) 1999 Landon Curt Noll ## Copyright (C) 1999 Landon Curt Noll
## ##
@@ -116,12 +118,12 @@ The calc web site is located at:
## received a copy with calc; if not, write to Free Software Foundation, Inc. ## received a copy with calc; if not, write to Free Software Foundation, Inc.
## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
## ##
## @(#) $Revision: 29.1 $ ## @(#) $Revision: 29.2 $
## @(#) $Id: README,v 29.1 1999/12/14 09:15:29 chongo Exp $ ## @(#) $Id: README,v 29.2 2000/06/07 14:02:13 chongo Exp $
## @(#) $Source: /usr/local/src/cmd/calc/RCS/README,v $ ## @(#) $Source: /usr/local/src/cmd/calc/RCS/README,v $
## ##
## Under source code control: 1995/10/25 05:27:59 ## Under source code control: 1995/10/25 05:27:59
## File existed as early as: 1995 ## File existed as early as: 1995
## ##
## chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ ## chongo <was here> /\oo/\ http://www.isthe.com/chongo/
## Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ ## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/

View File

@@ -19,14 +19,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: addop.c,v 29.1 1999/12/14 09:15:29 chongo Exp $ * @(#) $Id: addop.c,v 29.2 2000/06/07 14:02:13 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/RCS/addop.c,v $ * @(#) $Source: /usr/local/src/cmd/calc/RCS/addop.c,v $
* *
* Under source code control: 1990/02/15 01:48:10 * Under source code control: 1990/02/15 01:48:10
* File existed as early as: before 1990 * File existed as early as: before 1990
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -17,15 +17,15 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: align32.c,v 29.1 1999/12/14 09:15:29 chongo Exp $ * @(#) $Id: align32.c,v 29.2 2000/06/07 14:02:13 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/RCS/align32.c,v $ * @(#) $Source: /usr/local/src/cmd/calc/RCS/align32.c,v $
* *
* Under source code control: 1995/11/23 05:18:06 * Under source code control: 1995/11/23 05:18:06
* File existed as early as: 1995 * File existed as early as: 1995
* *
* chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: alloc.h,v 29.1 1999/12/14 09:15:29 chongo Exp $ * @(#) $Id: alloc.h,v 29.2 2000/06/07 14:02:13 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/RCS/alloc.h,v $ * @(#) $Source: /usr/local/src/cmd/calc/RCS/alloc.h,v $
* *
* Under source code control: 1990/02/15 01:48:29 * Under source code control: 1990/02/15 01:48:29
* File existed as early as: before 1990 * File existed as early as: before 1990
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: assocfunc.c,v 29.1 1999/12/14 09:15:29 chongo Exp $ * @(#) $Id: assocfunc.c,v 29.2 2000/06/07 14:02:13 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/RCS/assocfunc.c,v $ * @(#) $Source: /usr/local/src/cmd/calc/RCS/assocfunc.c,v $
* *
* Under source code control: 1993/07/20 23:04:27 * Under source code control: 1993/07/20 23:04:27
* File existed as early as: 1993 * File existed as early as: 1993
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -19,14 +19,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: blkcpy.c,v 29.1 1999/12/14 09:15:29 chongo Exp $ * @(#) $Id: blkcpy.c,v 29.2 2000/06/07 14:02:13 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/RCS/blkcpy.c,v $ * @(#) $Source: /usr/local/src/cmd/calc/RCS/blkcpy.c,v $
* *
* Under source code control: 1997/04/18 20:41:26 * Under source code control: 1997/04/18 20:41:26
* File existed as early as: 1997 * File existed as early as: 1997
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -19,14 +19,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: blkcpy.h,v 29.1 1999/12/14 09:15:29 chongo Exp $ * @(#) $Id: blkcpy.h,v 29.2 2000/06/07 14:02:13 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/RCS/blkcpy.h,v $ * @(#) $Source: /usr/local/src/cmd/calc/RCS/blkcpy.h,v $
* *
* Under source code control: 1997/04/18 20:41:25 * Under source code control: 1997/04/18 20:41:25
* File existed as early as: 1997 * File existed as early as: 1997
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -19,15 +19,15 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: block.c,v 29.1 1999/12/14 09:15:29 chongo Exp $ * @(#) $Id: block.c,v 29.2 2000/06/07 14:02:13 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/RCS/block.c,v $ * @(#) $Source: /usr/local/src/cmd/calc/RCS/block.c,v $
* *
* Under source code control: 1997/02/27 00:29:40 * Under source code control: 1997/02/27 00:29:40
* File existed as early as: 1997 * File existed as early as: 1997
* *
* chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -19,15 +19,15 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: block.h,v 29.1 1999/12/14 09:15:30 chongo Exp $ * @(#) $Id: block.h,v 29.2 2000/06/07 14:02:13 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/RCS/block.h,v $ * @(#) $Source: /usr/local/src/cmd/calc/RCS/block.h,v $
* *
* Under source code control: 1997/02/21 05:03:39 * Under source code control: 1997/02/21 05:03:39
* File existed as early as: 1997 * File existed as early as: 1997
* *
* chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -17,15 +17,15 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: byteswap.c,v 29.1 1999/12/14 09:15:30 chongo Exp $ * @(#) $Id: byteswap.c,v 29.2 2000/06/07 14:02:13 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/RCS/byteswap.c,v $ * @(#) $Source: /usr/local/src/cmd/calc/RCS/byteswap.c,v $
* *
* Under source code control: 1995/10/11 04:44:01 * Under source code control: 1995/10/11 04:44:01
* File existed as early as: 1995 * File existed as early as: 1995
* *
* chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -17,15 +17,15 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: byteswap.h,v 29.1 1999/12/14 09:15:30 chongo Exp $ * @(#) $Id: byteswap.h,v 29.2 2000/06/07 14:02:13 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/RCS/byteswap.h,v $ * @(#) $Source: /usr/local/src/cmd/calc/RCS/byteswap.h,v $
* *
* Under source code control: 1995/10/11 04:44:01 * Under source code control: 1995/10/11 04:44:01
* File existed as early as: 1995 * File existed as early as: 1995
* *
* chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -18,15 +18,15 @@
# received a copy with calc; if not, write to Free Software Foundation, Inc. # received a copy with calc; if not, write to Free Software Foundation, Inc.
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
# #
# @(#) $Revision: 29.1 $ # @(#) $Revision: 29.2 $
# @(#) $Id: Makefile,v 29.1 1999/12/14 09:15:30 chongo Exp $ # @(#) $Id: Makefile,v 29.2 2000/06/07 14:02:25 chongo Exp $
# @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/Makefile,v $ # @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/Makefile,v $
# #
# Under source code control: 1991/07/21 05:00:54 # Under source code control: 1991/07/21 05:00:54
# File existed as early as: 1991 # File existed as early as: 1991
# #
# chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ # chongo <was here> /\oo/\ http://www.isthe.com/chongo/
# Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ # Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
# #
# calculator by David I. Bell with help/mods from others # calculator by David I. Bell with help/mods from others
# Makefile by Landon Curt Noll # Makefile by Landon Curt Noll

View File

@@ -37,9 +37,10 @@ be useful!
If you write something that you think is useful, please send it to: If you write something that you think is useful, please send it to:
calc-tester at postofc dot corp dot sgi dot com calc-contrib at asthe dot com
[[ Replace 'at' with @, 'dot' is with . and remove the spaces ]] [[ NOTE: Replace 'at' with @, 'dot' is with . and remove the spaces ]]
[[ NOTE: The EMail address uses 'asthe' and the web site URL uses 'isthe' ]]
By convention, a resource file only defines and/or initializes functions, By convention, a resource file only defines and/or initializes functions,
objects and variables. (The regress.cal and testxxx.cal regression test objects and variables. (The regress.cal and testxxx.cal regression test
@@ -722,12 +723,12 @@ xx_print.cal
## received a copy with calc; if not, write to Free Software Foundation, Inc. ## received a copy with calc; if not, write to Free Software Foundation, Inc.
## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
## ##
## @(#) $Revision: 29.1 $ ## @(#) $Revision: 29.2 $
## @(#) $Id: README,v 29.1 1999/12/14 09:15:30 chongo Exp $ ## @(#) $Id: README,v 29.2 2000/06/07 14:02:25 chongo Exp $
## @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/README,v $ ## @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/README,v $
## ##
## Under source code control: 1990/02/15 01:50:32 ## Under source code control: 1990/02/15 01:50:32
## File existed as early as: before 1990 ## File existed as early as: before 1990
## ##
## chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ ## chongo <was here> /\oo/\ http://www.isthe.com/chongo/
## Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ ## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/

View File

@@ -17,15 +17,15 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: beer.cal,v 29.1 1999/12/14 09:15:30 chongo Exp $ * @(#) $Id: beer.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/beer.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/beer.cal,v $
* *
* Under source code control: 1996/11/13 13:21:05 * Under source code control: 1996/11/13 13:21:05
* File existed as early as: 1996 * File existed as early as: 1996
* *
* chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: bernoulli.cal,v 29.1 1999/12/14 09:15:30 chongo Exp $ * @(#) $Id: bernoulli.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/bernoulli.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/bernoulli.cal,v $
* *
* Under source code control: 1991/09/30 11:18:41 * Under source code control: 1991/09/30 11:18:41
* File existed as early as: 1991 * File existed as early as: 1991
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: bigprime.cal,v 29.1 1999/12/14 09:15:30 chongo Exp $ * @(#) $Id: bigprime.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/bigprime.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/bigprime.cal,v $
* *
* Under source code control: 1991/05/22 21:56:32 * Under source code control: 1991/05/22 21:56:32
* File existed as early as: 1991 * File existed as early as: 1991
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -16,14 +16,14 @@
# received a copy with calc; if not, write to Free Software Foundation, Inc. # received a copy with calc; if not, write to Free Software Foundation, Inc.
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
# #
# @(#) $Revision: 29.1 $ # @(#) $Revision: 29.2 $
# @(#) $Id: bindings,v 29.1 1999/12/14 09:15:30 chongo Exp $ # @(#) $Id: bindings,v 29.2 2000/06/07 14:02:25 chongo Exp $
# @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/bindings,v $ # @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/bindings,v $
# #
# Under source code control: 1993/05/02 20:09:19 # Under source code control: 1993/05/02 20:09:19
# File existed as early as: 1993 # File existed as early as: 1993
# #
# Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ # Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
# NOTE: This facility is ignored if calc was compiled with GNU-readline. # NOTE: This facility is ignored if calc was compiled with GNU-readline.
# In that case, the standard readline mechanisms (see readline(3)) # In that case, the standard readline mechanisms (see readline(3))

View File

@@ -19,14 +19,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: chrem.cal,v 29.1 1999/12/14 09:15:31 chongo Exp $ * @(#) $Id: chrem.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/chrem.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/chrem.cal,v $
* *
* Under source code control: 1992/09/26 01:00:47 * Under source code control: 1992/09/26 01:00:47
* File existed as early as: 1992 * File existed as early as: 1992
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: deg.cal,v 29.1 1999/12/14 09:15:31 chongo Exp $ * @(#) $Id: deg.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/deg.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/deg.cal,v $
* *
* Under source code control: 1990/02/15 01:50:33 * Under source code control: 1990/02/15 01:50:33
* File existed as early as: before 1990 * File existed as early as: before 1990
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: ellip.cal,v 29.1 1999/12/14 09:15:31 chongo Exp $ * @(#) $Id: ellip.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/ellip.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/ellip.cal,v $
* *
* Under source code control: 1990/02/15 01:50:33 * Under source code control: 1990/02/15 01:50:33
* File existed as early as: before 1990 * File existed as early as: before 1990
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,15 +17,15 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: hello.cal,v 29.1 1999/12/14 09:15:31 chongo Exp $ * @(#) $Id: hello.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/hello.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/hello.cal,v $
* *
* Under source code control: 1996/11/13 13:25:43 * Under source code control: 1996/11/13 13:25:43
* File existed as early as: 1996 * File existed as early as: 1996
* *
* chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,15 +17,15 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: lucas.cal,v 29.1 1999/12/14 09:15:31 chongo Exp $ * @(#) $Id: lucas.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/lucas.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/lucas.cal,v $
* *
* Under source code control: 1990/05/03 16:49:51 * Under source code control: 1990/05/03 16:49:51
* File existed as early as: 1990 * File existed as early as: 1990
* *
* chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,15 +17,15 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: lucas_chk.cal,v 29.1 1999/12/14 09:15:31 chongo Exp $ * @(#) $Id: lucas_chk.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/lucas_chk.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/lucas_chk.cal,v $
* *
* Under source code control: 1991/01/11 05:41:43 * Under source code control: 1991/01/11 05:41:43
* File existed as early as: 1991 * File existed as early as: 1991
* *
* chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,15 +17,15 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: lucas_tbl.cal,v 29.1 1999/12/14 09:15:31 chongo Exp $ * @(#) $Id: lucas_tbl.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/lucas_tbl.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/lucas_tbl.cal,v $
* *
* Under source code control: 1991/01/26 02:43:43 * Under source code control: 1991/01/26 02:43:43
* File existed as early as: 1991 * File existed as early as: 1991
* *
* chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -19,14 +19,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: mersenne.cal,v 29.1 1999/12/14 09:15:31 chongo Exp $ * @(#) $Id: mersenne.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/mersenne.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/mersenne.cal,v $
* *
* Under source code control: 1991/05/22 21:56:36 * Under source code control: 1991/05/22 21:56:36
* File existed as early as: 1991 * File existed as early as: 1991
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,15 +17,15 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: mfactor.cal,v 29.1 1999/12/14 09:15:31 chongo Exp $ * @(#) $Id: mfactor.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/mfactor.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/mfactor.cal,v $
* *
* Under source code control: 1996/07/06 06:09:40 * Under source code control: 1996/07/06 06:09:40
* File existed as early as: 1996 * File existed as early as: 1996
* *
* chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: mod.cal,v 29.1 1999/12/14 09:15:31 chongo Exp $ * @(#) $Id: mod.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/mod.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/mod.cal,v $
* *
* Under source code control: 1990/02/15 01:50:34 * Under source code control: 1990/02/15 01:50:34
* File existed as early as: before 1990 * File existed as early as: before 1990
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: natnumset.cal,v 29.1 1999/12/14 09:15:31 chongo Exp $ * @(#) $Id: natnumset.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/natnumset.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/natnumset.cal,v $
* *
* Under source code control: 1997/09/07 23:53:51 * Under source code control: 1997/09/07 23:53:51
* File existed as early as: 1997 * File existed as early as: 1997
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: pell.cal,v 29.1 1999/12/14 09:15:31 chongo Exp $ * @(#) $Id: pell.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/pell.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/pell.cal,v $
* *
* Under source code control: 1990/02/15 01:50:34 * Under source code control: 1990/02/15 01:50:34
* File existed as early as: before 1990 * File existed as early as: before 1990
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: pi.cal,v 29.1 1999/12/14 09:15:31 chongo Exp $ * @(#) $Id: pi.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/pi.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/pi.cal,v $
* *
* Under source code control: 1991/05/22 21:56:37 * Under source code control: 1991/05/22 21:56:37
* File existed as early as: 1991 * File existed as early as: 1991
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,15 +17,15 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: pix.cal,v 29.1 1999/12/14 09:15:31 chongo Exp $ * @(#) $Id: pix.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/pix.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/pix.cal,v $
* *
* Under source code control: 1996/07/09 03:14:14 * Under source code control: 1996/07/09 03:14:14
* File existed as early as: 1996 * File existed as early as: 1996
* *
* chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: pollard.cal,v 29.1 1999/12/14 09:15:31 chongo Exp $ * @(#) $Id: pollard.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/pollard.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/pollard.cal,v $
* *
* Under source code control: 1991/05/22 21:56:37 * Under source code control: 1991/05/22 21:56:37
* File existed as early as: 1991 * File existed as early as: 1991
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: poly.cal,v 29.1 1999/12/14 09:15:31 chongo Exp $ * @(#) $Id: poly.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/poly.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/poly.cal,v $
* *
* Under source code control: 1990/02/15 01:50:35 * Under source code control: 1990/02/15 01:50:35
* File existed as early as: before 1990 * File existed as early as: before 1990
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: prompt.cal,v 29.1 1999/12/14 09:15:32 chongo Exp $ * @(#) $Id: prompt.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/prompt.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/prompt.cal,v $
* *
* Under source code control: 1995/12/18 04:43:25 * Under source code control: 1995/12/18 04:43:25
* File existed as early as: 1995 * File existed as early as: 1995
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: psqrt.cal,v 29.1 1999/12/14 09:15:32 chongo Exp $ * @(#) $Id: psqrt.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/psqrt.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/psqrt.cal,v $
* *
* Under source code control: 1990/02/15 01:50:35 * Under source code control: 1990/02/15 01:50:35
* File existed as early as: before 1990 * File existed as early as: before 1990
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -7,15 +7,15 @@
* utc_hr_offset Offset from UTC in hours. * utc_hr_offset Offset from UTC in hours.
* *
* Written by: Klaus Alexander Seistrup <kseis@magnetic-ink.dk> * Written by: Klaus Alexander Seistrup <kseis@magnetic-ink.dk>
* With minor mods by: Landon Curt Noll <http://reality.sgi.com/chongo/> * With minor mods by: Landon Curt Noll <http://www.isthe.com/chongo/>
* *
* See: * See:
* http://www.magnetic-ink.dk/download/qtime.html * http://www.magnetic-ink.dk/download/qtime.html
* *
* for examples of qtime() written on other languages. * for examples of qtime() written on other languages.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: qtime.cal,v 29.1 1999/12/14 09:15:32 chongo Exp $ * @(#) $Id: qtime.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/qtime.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/qtime.cal,v $
* *
* This file is not covered under version 2.1 of the GNU LGPL. * This file is not covered under version 2.1 of the GNU LGPL.

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: quat.cal,v 29.1 1999/12/14 09:15:32 chongo Exp $ * @(#) $Id: quat.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/quat.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/quat.cal,v $
* *
* Under source code control: 1990/02/15 01:50:35 * Under source code control: 1990/02/15 01:50:35
* File existed as early as: before 1990 * File existed as early as: before 1990
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,15 +17,15 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: randbitrun.cal,v 29.1 1999/12/14 09:15:32 chongo Exp $ * @(#) $Id: randbitrun.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/randbitrun.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/randbitrun.cal,v $
* *
* Under source code control: 1995/02/13 03:43:11 * Under source code control: 1995/02/13 03:43:11
* File existed as early as: 1995 * File existed as early as: 1995
* *
* chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,15 +17,15 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: randmprime.cal,v 29.1 1999/12/14 09:15:32 chongo Exp $ * @(#) $Id: randmprime.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/randmprime.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/randmprime.cal,v $
* *
* Under source code control: 1994/03/14 23:11:21 * Under source code control: 1994/03/14 23:11:21
* File existed as early as: 1994 * File existed as early as: 1994
* *
* chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -17,15 +17,15 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: randombitrun.cal,v 29.1 1999/12/14 09:15:32 chongo Exp $ * @(#) $Id: randombitrun.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/randombitrun.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/randombitrun.cal,v $
* *
* Under source code control: 1995/02/13 03:43:11 * Under source code control: 1995/02/13 03:43:11
* File existed as early as: 1995 * File existed as early as: 1995
* *
* chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,15 +17,15 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: randomrun.cal,v 29.1 1999/12/14 09:15:32 chongo Exp $ * @(#) $Id: randomrun.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/randomrun.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/randomrun.cal,v $
* *
* Under source code control: 1997/02/19 03:35:59 * Under source code control: 1997/02/19 03:35:59
* File existed as early as: 1997 * File existed as early as: 1997
* *
* chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: randrun.cal,v 29.1 1999/12/14 09:15:32 chongo Exp $ * @(#) $Id: randrun.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/randrun.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/randrun.cal,v $
* *
* Under source code control: 1995/02/12 20:00:06 * Under source code control: 1995/02/12 20:00:06
* File existed as early as: 1995 * File existed as early as: 1995
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.3 $
* @(#) $Id: regress.cal,v 29.1 1999/12/14 09:15:32 chongo Exp $ * @(#) $Id: regress.cal,v 29.3 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/regress.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/regress.cal,v $
* *
* Under source code control: 1990/02/15 01:50:36 * Under source code control: 1990/02/15 01:50:36
* File existed as early as: before 1990 * File existed as early as: before 1990
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*
@@ -3085,8 +3085,7 @@ define test_error()
print '3712: e9999 = error(9999)'; print '3712: e9999 = error(9999)';
vrfy(errno() == 9999, '3713: errno() == 9999'); vrfy(errno() == 9999, '3713: errno() == 9999');
vrfy(error() == e9999, '3714: error() == e9999'); vrfy(error() == e9999, '3714: error() == e9999');
vrfy(substr(strerror(), strpos(strerror(),"9999"), 4) == "9999", /* test 3715 removed due to non-portable strerror() output */
'3715: substr(strerror(), strpos(strerror(),"9999"), 4) == "9999"');
x = newerror("Alpha"); x = newerror("Alpha");
print '3716: x = newerror("Alpha")'; print '3716: x = newerror("Alpha")';
n = iserror(x); n = iserror(x);
@@ -3097,16 +3096,14 @@ define test_error()
vrfy(errno(9999) == n, '3721: errno() == n'); vrfy(errno(9999) == n, '3721: errno() == n');
vrfy(errno() == 9999, '3722: errno() == 9999'); vrfy(errno() == 9999, '3722: errno() == 9999');
vrfy(error() == e9999, '3723: error() == e9999'); vrfy(error() == e9999, '3723: error() == e9999');
vrfy(substr(strerror(), strpos(strerror(),"9999"), 4) == "9999", /* test 3724 removed due to non-portable strerror() output */
'3724: substr(strerror(), strpos(strerror(),"9999"), 4) == "9999"');
a = 1/0; a = 1/0;
print '3725: a = 1/0'; print '3725: a = 1/0';
vrfy(strerror() == "Division by zero", vrfy(strerror() == "Division by zero",
'3726: strerror() == "Division by zero"'); '3726: strerror() == "Division by zero"');
n = 8191; n = 8191;
print '3727: n = 8191'; print '3727: n = 8191';
vrfy(substr(strerror(8191),strpos(strerror(n),"8191"), 4) == "8191", /* test 3728 removed due to non-portable strerror() output */
'3728: substr(strerror(n),strpos(strerror(n),"8191"),4) == "8191"');
/* errmax and errcount should be bumped up the 148 errors above */ /* errmax and errcount should be bumped up the 148 errors above */
vrfy(errcount() == ecnt, '3729: errcount() == ecnt'); vrfy(errcount() == ecnt, '3729: errcount() == ecnt');

View File

@@ -17,15 +17,15 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: seedrandom.cal,v 29.1 1999/12/14 09:15:33 chongo Exp $ * @(#) $Id: seedrandom.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/seedrandom.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/seedrandom.cal,v $
* *
* Under source code control: 1996/01/01 08:21:00 * Under source code control: 1996/01/01 08:21:00
* File existed as early as: 1996 * File existed as early as: 1996
* *
* chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: solve.cal,v 29.1 1999/12/14 09:15:33 chongo Exp $ * @(#) $Id: solve.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/solve.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/solve.cal,v $
* *
* Under source code control: 1990/02/15 01:50:37 * Under source code control: 1990/02/15 01:50:37
* File existed as early as: before 1990 * File existed as early as: before 1990
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: sumsq.cal,v 29.1 1999/12/14 09:15:33 chongo Exp $ * @(#) $Id: sumsq.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/sumsq.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/sumsq.cal,v $
* *
* Under source code control: 1990/02/15 01:50:37 * Under source code control: 1990/02/15 01:50:37
* File existed as early as: before 1990 * File existed as early as: before 1990
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: surd.cal,v 29.1 1999/12/14 09:15:33 chongo Exp $ * @(#) $Id: surd.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/surd.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/surd.cal,v $
* *
* Under source code control: 1990/02/15 01:50:38 * Under source code control: 1990/02/15 01:50:38
* File existed as early as: before 1990 * File existed as early as: before 1990
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -17,15 +17,15 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: test1700.cal,v 29.1 1999/12/14 09:15:33 chongo Exp $ * @(#) $Id: test1700.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test1700.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test1700.cal,v $
* *
* Under source code control: 1994/03/14 23:12:51 * Under source code control: 1994/03/14 23:12:51
* File existed as early as: 1994 * File existed as early as: 1994
* *
* chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -17,15 +17,15 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: test2300.cal,v 29.1 1999/12/14 09:15:33 chongo Exp $ * @(#) $Id: test2300.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test2300.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test2300.cal,v $
* *
* Under source code control: 1995/07/09 06:12:13 * Under source code control: 1995/07/09 06:12:13
* File existed as early as: 1995 * File existed as early as: 1995
* *
* chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -19,14 +19,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: test2600.cal,v 29.1 1999/12/14 09:15:33 chongo Exp $ * @(#) $Id: test2600.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test2600.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test2600.cal,v $
* *
* Under source code control: 1995/10/13 00:13:14 * Under source code control: 1995/10/13 00:13:14
* File existed as early as: 1995 * File existed as early as: 1995
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -19,14 +19,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: test2700.cal,v 29.1 1999/12/14 09:15:33 chongo Exp $ * @(#) $Id: test2700.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test2700.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test2700.cal,v $
* *
* Under source code control: 1995/11/01 22:52:25 * Under source code control: 1995/11/01 22:52:25
* File existed as early as: 1995 * File existed as early as: 1995
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -19,14 +19,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: test3100.cal,v 29.1 1999/12/14 09:15:33 chongo Exp $ * @(#) $Id: test3100.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test3100.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test3100.cal,v $
* *
* Under source code control: 1995/11/28 11:56:57 * Under source code control: 1995/11/28 11:56:57
* File existed as early as: 1995 * File existed as early as: 1995
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -19,14 +19,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: test3300.cal,v 29.1 1999/12/14 09:15:33 chongo Exp $ * @(#) $Id: test3300.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test3300.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test3300.cal,v $
* *
* Under source code control: 1995/12/02 04:27:41 * Under source code control: 1995/12/02 04:27:41
* File existed as early as: 1995 * File existed as early as: 1995
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -19,14 +19,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: test3400.cal,v 29.1 1999/12/14 09:15:34 chongo Exp $ * @(#) $Id: test3400.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test3400.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test3400.cal,v $
* *
* Under source code control: 1995/12/02 05:20:11 * Under source code control: 1995/12/02 05:20:11
* File existed as early as: 1995 * File existed as early as: 1995
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -19,14 +19,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: test3500.cal,v 29.1 1999/12/14 09:15:34 chongo Exp $ * @(#) $Id: test3500.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test3500.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test3500.cal,v $
* *
* Under source code control: 1995/12/18 22:50:46 * Under source code control: 1995/12/18 22:50:46
* File existed as early as: 1995 * File existed as early as: 1995
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -19,14 +19,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: test4000.cal,v 29.1 1999/12/14 09:15:34 chongo Exp $ * @(#) $Id: test4000.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test4000.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test4000.cal,v $
* *
* Under source code control: 1996/03/13 02:38:45 * Under source code control: 1996/03/13 02:38:45
* File existed as early as: 1996 * File existed as early as: 1996
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -19,14 +19,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: test4100.cal,v 29.1 1999/12/14 09:15:34 chongo Exp $ * @(#) $Id: test4100.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test4100.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test4100.cal,v $
* *
* Under source code control: 1996/03/13 03:53:22 * Under source code control: 1996/03/13 03:53:22
* File existed as early as: 1996 * File existed as early as: 1996
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -19,14 +19,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: test4600.cal,v 29.1 1999/12/14 09:15:34 chongo Exp $ * @(#) $Id: test4600.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test4600.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test4600.cal,v $
* *
* Under source code control: 1996/07/02 20:04:40 * Under source code control: 1996/07/02 20:04:40
* File existed as early as: 1996 * File existed as early as: 1996
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -19,14 +19,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: test5100.cal,v 29.1 1999/12/14 09:15:34 chongo Exp $ * @(#) $Id: test5100.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test5100.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test5100.cal,v $
* *
* Under source code control: 1996/12/02 23:57:10 * Under source code control: 1996/12/02 23:57:10
* File existed as early as: 1996 * File existed as early as: 1996
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -19,14 +19,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: test5200.cal,v 29.1 1999/12/14 09:15:34 chongo Exp $ * @(#) $Id: test5200.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test5200.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test5200.cal,v $
* *
* Under source code control: 1997/02/07 02:48:10 * Under source code control: 1997/02/07 02:48:10
* File existed as early as: 1997 * File existed as early as: 1997
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -17,15 +17,15 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: test8400.cal,v 29.1 1999/12/14 09:15:34 chongo Exp $ * @(#) $Id: test8400.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test8400.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test8400.cal,v $
* *
* Under source code control: 1999/10/31 01:00:03 * Under source code control: 1999/10/31 01:00:03
* File existed as early as: 1999 * File existed as early as: 1999
* *
* chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -19,14 +19,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: test8500.cal,v 29.1 1999/12/14 09:15:34 chongo Exp $ * @(#) $Id: test8500.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test8500.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/test8500.cal,v $
* *
* Under source code control: 1999/11/12 20:59:59 * Under source code control: 1999/11/12 20:59:59
* File existed as early as: 1999 * File existed as early as: 1999
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: unitfrac.cal,v 29.1 1999/12/14 09:15:34 chongo Exp $ * @(#) $Id: unitfrac.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/unitfrac.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/unitfrac.cal,v $
* *
* Under source code control: 1990/02/15 01:50:38 * Under source code control: 1990/02/15 01:50:38
* File existed as early as: before 1990 * File existed as early as: before 1990
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: varargs.cal,v 29.1 1999/12/14 09:15:34 chongo Exp $ * @(#) $Id: varargs.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/varargs.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/varargs.cal,v $
* *
* Under source code control: 1991/05/22 21:56:34 * Under source code control: 1991/05/22 21:56:34
* File existed as early as: 1991 * File existed as early as: 1991
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: xx_print.cal,v 29.1 1999/12/14 09:15:34 chongo Exp $ * @(#) $Id: xx_print.cal,v 29.2 2000/06/07 14:02:25 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/xx_print.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/cal/RCS/xx_print.cal,v $
* *
* Under source code control: 1997/04/17 00:08:50 * Under source code control: 1997/04/17 00:08:50
* File existed as early as: 1997 * File existed as early as: 1997
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

8
calc.c
View File

@@ -19,14 +19,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.2 $ * @(#) $Revision: 29.4 $
* @(#) $Id: calc.c,v 29.2 1999/12/17 09:21:45 chongo Exp $ * @(#) $Id: calc.c,v 29.4 2000/06/07 14:02:13 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/RCS/calc.c,v $ * @(#) $Source: /usr/local/src/cmd/calc/RCS/calc.c,v $
* *
* Under source code control: 1990/02/15 01:48:11 * Under source code control: 1990/02/15 01:48:11
* File existed as early as: before 1990 * File existed as early as: before 1990
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
@@ -233,7 +233,7 @@ main(int argc, char **argv)
/* argument + space separator */ /* argument + space separator */
cmdlen += strlen(argv[i]) + 1; cmdlen += strlen(argv[i]) + 1;
} }
if (i > MAXCMD) { if (cmdlen > MAXCMD) {
/* /*
* we are too early in processing to call * we are too early in processing to call
* libcalc_call_me_last() - nothing to cleanup * libcalc_call_me_last() - nothing to cleanup

6
calc.h
View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.2 $ * @(#) $Revision: 29.3 $
* @(#) $Id: calc.h,v 29.2 1999/12/14 19:37:46 chongo Exp $ * @(#) $Id: calc.h,v 29.3 2000/06/07 14:02:13 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/RCS/calc.h,v $ * @(#) $Source: /usr/local/src/cmd/calc/RCS/calc.h,v $
* *
* Under source code control: 1990/02/15 01:48:31 * Under source code control: 1990/02/15 01:48:31
* File existed as early as: before 1990 * File existed as early as: before 1990
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -15,15 +15,15 @@
.\" received a copy with calc; if not, write to Free Software Foundation, Inc. .\" received a copy with calc; if not, write to Free Software Foundation, Inc.
.\" 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. .\" 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
.\" .\"
.\" @(#) $Revision: 29.4 $ .\" @(#) $Revision: 29.5 $
.\" @(#) $Id: calc.man,v 29.4 1999/12/17 10:06:31 chongo Exp $ .\" @(#) $Id: calc.man,v 29.5 2000/06/07 14:02:13 chongo Exp $
.\" @(#) $Source: /usr/local/src/cmd/calc/RCS/calc.man,v $ .\" @(#) $Source: /usr/local/src/cmd/calc/RCS/calc.man,v $
.\" .\"
.\" Under source code control: 1991/07/23 05:48:26 .\" Under source code control: 1991/07/23 05:48:26
.\" File existed as early as: 1991 .\" File existed as early as: 1991
.\" .\"
.\" chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ .\" chongo <was here> /\oo/\ http://www.isthe.com/chongo/
.\" Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ .\" Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
.\" .\"
.\" calculator by David I. Bell .\" calculator by David I. Bell
.\" man page by Landon Noll .\" man page by Landon Noll
@@ -1007,9 +1007,7 @@ in future distributions to:
.sp .sp
.in +0.5i .in +0.5i
.nf .nf
calc-tester at postofc dot corp dot sgi dot com calc-contrib at asthe dot com
[[ Replace 'at' with @, 'dot' is with . and remove the spaces ]]
.fi .fi
.in -0.5i .in -0.5i
.sp .sp
@@ -1017,9 +1015,10 @@ Bug reports are sent to:
.sp .sp
.in +0.5i .in +0.5i
.nf .nf
calc-bugs at postofc dot corp dot sgi dot com calc-bugs at asthe dot com
[[ Replace 'at' with @, 'dot' is with . and remove the spaces ]] [[ NOTE: Replace 'at' with @, 'dot' is with . and remove the spaces ]]
[[ NOTE: The EMail address uses 'asthe' and the web site URL uses 'isthe' ]]
.fi .fi
.in -0.5i .in -0.5i
.sp .sp
@@ -1045,7 +1044,7 @@ Landon Noll maintains the the
web site is located at: web site is located at:
.sp .sp
.in +0.5i .in +0.5i
http://reality.sgi.com/chongo/tech/comp/calc/ http://www.isthe.com/chongo/tech/comp/calc/
.in -0.5i .in -0.5i
.sp .sp
One may join the One may join the
@@ -1054,9 +1053,10 @@ testing group by sending a request to:
.sp .sp
.in +0.5i .in +0.5i
.nf .nf
calc-tester-request at postofc dot corp dot sgi dot com calc-tester-request at asthe dot com
[[ Replace 'at' with @, 'dot' is with . and remove the spaces ]] [[ NOTE: Replace 'at' with @, 'dot' is with . and remove the spaces ]]
[[ NOTE: The EMail address uses 'asthe' and the web site URL uses 'isthe' ]]
.fi .fi
.in -0.5i .in -0.5i
.sp .sp

View File

@@ -17,14 +17,14 @@
# received a copy with calc; if not, write to Free Software Foundation, Inc. # received a copy with calc; if not, write to Free Software Foundation, Inc.
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
# #
# @(#) $Revision: 29.1 $ # @(#) $Revision: 29.2 $
# @(#) $Id: calcerr.tbl,v 29.1 1999/12/14 09:15:35 chongo Exp $ # @(#) $Id: calcerr.tbl,v 29.2 2000/06/07 14:02:13 chongo Exp $
# @(#) $Source: /usr/local/src/cmd/calc/RCS/calcerr.tbl,v $ # @(#) $Source: /usr/local/src/cmd/calc/RCS/calcerr.tbl,v $
# #
# Under source code control: 1996/05/23 17:38:44 # Under source code control: 1996/05/23 17:38:44
# File existed as early as: 1996 # File existed as early as: 1996
# #
# Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ # Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
# This file is used to build calcerr.h include file. # This file is used to build calcerr.h include file.
# #

View File

@@ -18,15 +18,15 @@
# received a copy with calc; if not, write to Free Software Foundation, Inc. # received a copy with calc; if not, write to Free Software Foundation, Inc.
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
# #
# @(#) $Revision: 29.1 $ # @(#) $Revision: 29.2 $
# @(#) $Id: calcerr_c.awk,v 29.1 1999/12/14 09:15:35 chongo Exp $ # @(#) $Id: calcerr_c.awk,v 29.2 2000/06/07 14:02:13 chongo Exp $
# @(#) $Source: /usr/local/src/cmd/calc/RCS/calcerr_c.awk,v $ # @(#) $Source: /usr/local/src/cmd/calc/RCS/calcerr_c.awk,v $
# #
# Under source code control: 1996/05/24 03:15:35 # Under source code control: 1996/05/24 03:15:35
# File existed as early as: 1996 # File existed as early as: 1996
# #
# chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ # chongo <was here> /\oo/\ http://www.isthe.com/chongo/
# Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ # Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
# #
BEGIN { BEGIN {
printf("#include <stdio.h>\n"); printf("#include <stdio.h>\n");

View File

@@ -18,15 +18,15 @@
# received a copy with calc; if not, write to Free Software Foundation, Inc. # received a copy with calc; if not, write to Free Software Foundation, Inc.
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
# #
# @(#) $Revision: 29.1 $ # @(#) $Revision: 29.2 $
# @(#) $Id: calcerr_c.sed,v 29.1 1999/12/14 09:15:35 chongo Exp $ # @(#) $Id: calcerr_c.sed,v 29.2 2000/06/07 14:02:13 chongo Exp $
# @(#) $Source: /usr/local/src/cmd/calc/RCS/calcerr_c.sed,v $ # @(#) $Source: /usr/local/src/cmd/calc/RCS/calcerr_c.sed,v $
# #
# Under source code control: 1996/05/24 03:15:35 # Under source code control: 1996/05/24 03:15:35
# File existed as early as: 1996 # File existed as early as: 1996
# #
# chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ # chongo <was here> /\oo/\ http://www.isthe.com/chongo/
# Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ # Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
# #
s/#.*// s/#.*//
s/[ ][ ]*$// s/[ ][ ]*$//

View File

@@ -18,15 +18,15 @@
# received a copy with calc; if not, write to Free Software Foundation, Inc. # received a copy with calc; if not, write to Free Software Foundation, Inc.
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
# #
# @(#) $Revision: 29.1 $ # @(#) $Revision: 29.2 $
# @(#) $Id: calcerr_h.awk,v 29.1 1999/12/14 09:15:35 chongo Exp $ # @(#) $Id: calcerr_h.awk,v 29.2 2000/06/07 14:02:13 chongo Exp $
# @(#) $Source: /usr/local/src/cmd/calc/RCS/calcerr_h.awk,v $ # @(#) $Source: /usr/local/src/cmd/calc/RCS/calcerr_h.awk,v $
# #
# Under source code control: 1996/05/23 17:38:44 # Under source code control: 1996/05/23 17:38:44
# File existed as early as: 1996 # File existed as early as: 1996
# #
# chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ # chongo <was here> /\oo/\ http://www.isthe.com/chongo/
# Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ # Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
# #
BEGIN { BEGIN {
ebase = 10000; ebase = 10000;

View File

@@ -18,15 +18,15 @@
# received a copy with calc; if not, write to Free Software Foundation, Inc. # received a copy with calc; if not, write to Free Software Foundation, Inc.
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
# #
# @(#) $Revision: 29.1 $ # @(#) $Revision: 29.2 $
# @(#) $Id: calcerr_h.sed,v 29.1 1999/12/14 09:15:35 chongo Exp $ # @(#) $Id: calcerr_h.sed,v 29.2 2000/06/07 14:02:13 chongo Exp $
# @(#) $Source: /usr/local/src/cmd/calc/RCS/calcerr_h.sed,v $ # @(#) $Source: /usr/local/src/cmd/calc/RCS/calcerr_h.sed,v $
# #
# Under source code control: 1996/05/23 17:38:44 # Under source code control: 1996/05/23 17:38:44
# File existed as early as: 1996 # File existed as early as: 1996
# #
# chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ # chongo <was here> /\oo/\ http://www.isthe.com/chongo/
# Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ # Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
# #
s/#.*// s/#.*//
s/[ ][ ]*$// s/[ ][ ]*$//

View File

@@ -18,15 +18,15 @@
# received a copy with calc; if not, write to Free Software Foundation, Inc. # received a copy with calc; if not, write to Free Software Foundation, Inc.
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
# #
# @(#) $Revision: 29.1 $ # @(#) $Revision: 29.2 $
# @(#) $Id: check.awk,v 29.1 1999/12/14 09:15:35 chongo Exp $ # @(#) $Id: check.awk,v 29.2 2000/06/07 14:02:13 chongo Exp $
# @(#) $Source: /usr/local/src/cmd/calc/RCS/check.awk,v $ # @(#) $Source: /usr/local/src/cmd/calc/RCS/check.awk,v $
# #
# Under source code control: 1996/05/25 22:07:58 # Under source code control: 1996/05/25 22:07:58
# File existed as early as: 1996 # File existed as early as: 1996
# #
# chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ # chongo <was here> /\oo/\ http://www.isthe.com/chongo/
# Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ # Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
# #
# This awk script will print 3 lines before and after any non-blank line that # This awk script will print 3 lines before and after any non-blank line that
# does not begin with a number. This allows the 'make debug' rule to remove # does not begin with a number. This allows the 'make debug' rule to remove

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: cmath.h,v 29.1 1999/12/14 09:15:35 chongo Exp $ * @(#) $Id: cmath.h,v 29.2 2000/06/07 14:02:13 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/RCS/cmath.h,v $ * @(#) $Source: /usr/local/src/cmd/calc/RCS/cmath.h,v $
* *
* Under source code control: 1993/07/30 19:42:45 * Under source code control: 1993/07/30 19:42:45
* File existed as early as: 1993 * File existed as early as: 1993
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -19,14 +19,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: codegen.c,v 29.1 1999/12/14 09:15:35 chongo Exp $ * @(#) $Id: codegen.c,v 29.2 2000/06/07 14:02:13 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/RCS/codegen.c,v $ * @(#) $Source: /usr/local/src/cmd/calc/RCS/codegen.c,v $
* *
* Under source code control: 1990/02/15 01:48:13 * Under source code control: 1990/02/15 01:48:13
* File existed as early as: before 1990 * File existed as early as: before 1990
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -19,14 +19,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: comfunc.c,v 29.1 1999/12/14 09:15:35 chongo Exp $ * @(#) $Id: comfunc.c,v 29.2 2000/06/07 14:02:13 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/RCS/comfunc.c,v $ * @(#) $Source: /usr/local/src/cmd/calc/RCS/comfunc.c,v $
* *
* Under source code control: 1990/02/15 01:48:13 * Under source code control: 1990/02/15 01:48:13
* File existed as early as: before 1990 * File existed as early as: before 1990
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: commath.c,v 29.1 1999/12/14 09:15:35 chongo Exp $ * @(#) $Id: commath.c,v 29.2 2000/06/07 14:02:13 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/RCS/commath.c,v $ * @(#) $Source: /usr/local/src/cmd/calc/RCS/commath.c,v $
* *
* Under source code control: 1990/02/15 01:48:10 * Under source code control: 1990/02/15 01:48:10
* File existed as early as: before 1990 * File existed as early as: before 1990
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -19,14 +19,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.2 $ * @(#) $Revision: 29.3 $
* @(#) $Id: config.c,v 29.2 1999/12/14 19:37:46 chongo Exp $ * @(#) $Id: config.c,v 29.3 2000/06/07 14:02:13 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/RCS/config.c,v $ * @(#) $Source: /usr/local/src/cmd/calc/RCS/config.c,v $
* *
* Under source code control: 1991/07/20 00:21:56 * Under source code control: 1991/07/20 00:21:56
* File existed as early as: 1991 * File existed as early as: 1991
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -19,15 +19,15 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.2 $ * @(#) $Revision: 29.3 $
* @(#) $Id: config.h,v 29.2 1999/12/14 19:37:46 chongo Exp $ * @(#) $Id: config.h,v 29.3 2000/06/07 14:02:13 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/RCS/config.h,v $ * @(#) $Source: /usr/local/src/cmd/calc/RCS/config.h,v $
* *
* Under source code control: 1995/11/01 22:20:17 * Under source code control: 1995/11/01 22:20:17
* File existed as early as: 1995 * File existed as early as: 1995
* *
* chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -17,14 +17,14 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: const.c,v 29.1 1999/12/14 09:15:35 chongo Exp $ * @(#) $Id: const.c,v 29.2 2000/06/07 14:02:13 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/RCS/const.c,v $ * @(#) $Source: /usr/local/src/cmd/calc/RCS/const.c,v $
* *
* Under source code control: 1990/02/15 01:48:14 * Under source code control: 1990/02/15 01:48:14
* File existed as early as: before 1990 * File existed as early as: before 1990
* *
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -17,15 +17,15 @@
# received a copy with calc; if not, write to Free Software Foundation, Inc. # received a copy with calc; if not, write to Free Software Foundation, Inc.
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
# #
# @(#) $Revision: 29.4 $ # @(#) $Revision: 29.5 $
# @(#) $Id: Makefile,v 29.4 1999/12/17 11:30:35 chongo Exp $ # @(#) $Id: Makefile,v 29.5 2000/06/07 14:02:59 chongo Exp $
# @(#) $Source: /usr/local/src/cmd/calc/cscript/RCS/Makefile,v $ # @(#) $Source: /usr/local/src/cmd/calc/cscript/RCS/Makefile,v $
# #
# Under source code control: 1999/11/29 11:10:26 # Under source code control: 1999/11/29 11:10:26
# File existed as early as: 1999 # File existed as early as: 1999
# #
# chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ # chongo <was here> /\oo/\ http://www.isthe.com/chongo/
# Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ # Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
# #
# calculator by David I. Bell with help/mods from others # calculator by David I. Bell with help/mods from others
# Makefile by Landon Curt Noll # Makefile by Landon Curt Noll

View File

@@ -7,9 +7,10 @@ be useful!
If you write something that you think is useful, please send it to: If you write something that you think is useful, please send it to:
calc-tester at postofc dot corp dot sgi dot com calc-contrib at asthe dot com
[[ Replace 'at' with @, 'dot' is with . and remove the spaces ]] [[ NOTE: Replace 'at' with @, 'dot' is with . and remove the spaces ]]
[[ NOTE: The EMail address uses 'asthe' and the web site URL uses 'isthe' ]]
For more info, see: For more info, see:
@@ -53,12 +54,12 @@ simple
## received a copy with calc; if not, write to Free Software Foundation, Inc. ## received a copy with calc; if not, write to Free Software Foundation, Inc.
## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
## ##
## @(#) $Revision: 29.3 $ ## @(#) $Revision: 29.4 $
## @(#) $Id: README,v 29.3 1999/12/17 10:34:54 chongo Exp $ ## @(#) $Id: README,v 29.4 2000/06/07 14:02:59 chongo Exp $
## @(#) $Source: /usr/local/src/cmd/calc/cscript/RCS/README,v $ ## @(#) $Source: /usr/local/src/cmd/calc/cscript/RCS/README,v $
## ##
## Under source code control: 1999/12/17 10:23:40 ## Under source code control: 1999/12/17 10:23:40
## File existed as early as: 1999 ## File existed as early as: 1999
## ##
## chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ ## chongo <was here> /\oo/\ http://www.isthe.com/chongo/
## Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ ## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/

View File

@@ -18,15 +18,15 @@
# received a copy with calc; if not, write to Free Software Foundation, Inc. # received a copy with calc; if not, write to Free Software Foundation, Inc.
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
# #
# @(#) $Revision: 29.1 $ # @(#) $Revision: 29.2 $
# @(#) $Id: mersenne.calc,v 29.1 1999/12/14 09:15:35 chongo Exp $ # @(#) $Id: mersenne.calc,v 29.2 2000/06/07 14:02:59 chongo Exp $
# @(#) $Source: /usr/local/src/cmd/calc/cscript/RCS/mersenne.calc,v $ # @(#) $Source: /usr/local/src/cmd/calc/cscript/RCS/mersenne.calc,v $
# #
# Under source code control: 1999/11/30 00:09:01; # Under source code control: 1999/11/30 00:09:01;
# File existed as early as: 1999 # File existed as early as: 1999
# #
# chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ # chongo <was here> /\oo/\ http://www.isthe.com/chongo/
# Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ # Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
# usage: # usage:
# mersenne exp # mersenne exp

View File

@@ -18,15 +18,15 @@
# received a copy with calc; if not, write to Free Software Foundation, Inc. # received a copy with calc; if not, write to Free Software Foundation, Inc.
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
# #
# @(#) $Revision: 29.1 $ # @(#) $Revision: 29.2 $
# @(#) $Id: piforever.calc,v 29.1 1999/12/14 09:15:36 chongo Exp $ # @(#) $Id: piforever.calc,v 29.2 2000/06/07 14:02:59 chongo Exp $
# @(#) $Source: /usr/local/src/cmd/calc/cscript/RCS/piforever.calc,v $ # @(#) $Source: /usr/local/src/cmd/calc/cscript/RCS/piforever.calc,v $
# #
# Under source code control: 1999/11/30 00:11:36 # Under source code control: 1999/11/30 00:11:36
# File existed as early as: 1999 # File existed as early as: 1999
# #
# chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ # chongo <was here> /\oo/\ http://www.isthe.com/chongo/
# Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ # Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
# usage: # usage:
# piforever # piforever

View File

@@ -18,15 +18,15 @@
# received a copy with calc; if not, write to Free Software Foundation, Inc. # received a copy with calc; if not, write to Free Software Foundation, Inc.
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
# #
# @(#) $Revision: 29.1 $ # @(#) $Revision: 29.2 $
# @(#) $Id: plus.calc,v 29.1 1999/12/14 09:15:36 chongo Exp $ # @(#) $Id: plus.calc,v 29.2 2000/06/07 14:02:59 chongo Exp $
# @(#) $Source: /usr/local/src/cmd/calc/cscript/RCS/plus.calc,v $ # @(#) $Source: /usr/local/src/cmd/calc/cscript/RCS/plus.calc,v $
# #
# Under source code control: 1999/11/29 10:22:37 # Under source code control: 1999/11/29 10:22:37
# File existed as early as: 1999 # File existed as early as: 1999
# #
# chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ # chongo <was here> /\oo/\ http://www.isthe.com/chongo/
# Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ # Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
# usage: # usage:
# plus val ... # plus val ...

View File

@@ -18,15 +18,15 @@
# received a copy with calc; if not, write to Free Software Foundation, Inc. # received a copy with calc; if not, write to Free Software Foundation, Inc.
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
# #
# @(#) $Revision: 29.1 $ # @(#) $Revision: 29.2 $
# @(#) $Id: simple.calc,v 29.1 1999/12/14 09:15:36 chongo Exp $ # @(#) $Id: simple.calc,v 29.2 2000/06/07 14:02:59 chongo Exp $
# @(#) $Source: /usr/local/src/cmd/calc/cscript/RCS/simple.calc,v $ # @(#) $Source: /usr/local/src/cmd/calc/cscript/RCS/simple.calc,v $
# #
# Under source code control: 1999/11/29 10:22:37 # Under source code control: 1999/11/29 10:22:37
# File existed as early as: 1999 # File existed as early as: 1999
# #
# chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ # chongo <was here> /\oo/\ http://www.isthe.com/chongo/
# Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ # Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
/* /*

View File

@@ -17,15 +17,15 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: custom.c,v 29.1 1999/12/14 09:15:36 chongo Exp $ * @(#) $Id: custom.c,v 29.2 2000/06/07 14:02:13 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/RCS/custom.c,v $ * @(#) $Source: /usr/local/src/cmd/calc/RCS/custom.c,v $
* *
* Under source code control: 1997/03/03 04:53:08 * Under source code control: 1997/03/03 04:53:08
* File existed as early as: 1997 * File existed as early as: 1997
* *
* chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */

View File

@@ -17,15 +17,15 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: custom.h,v 29.1 1999/12/14 09:15:36 chongo Exp $ * @(#) $Id: custom.h,v 29.2 2000/06/07 14:02:13 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/RCS/custom.h,v $ * @(#) $Source: /usr/local/src/cmd/calc/RCS/custom.h,v $
* *
* Under source code control: 1997/03/03 04:53:08 * Under source code control: 1997/03/03 04:53:08
* File existed as early as: 1997 * File existed as early as: 1997
* *
* chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

View File

@@ -57,12 +57,12 @@ pzasusb8.cal
## received a copy with calc; if not, write to Free Software Foundation, Inc. ## received a copy with calc; if not, write to Free Software Foundation, Inc.
## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
## ##
## @(#) $Revision: 29.1 $ ## @(#) $Revision: 29.2 $
## @(#) $Id: CUSTOM_CAL,v 29.1 1999/12/14 09:15:36 chongo Exp $ ## @(#) $Id: CUSTOM_CAL,v 29.2 2000/06/07 14:03:03 chongo Exp $
## @(#) $Source: /usr/local/src/cmd/calc/custom/RCS/CUSTOM_CAL,v $ ## @(#) $Source: /usr/local/src/cmd/calc/custom/RCS/CUSTOM_CAL,v $
## ##
## Under source code control: 1997/03/08 20:51:32 ## Under source code control: 1997/03/08 20:51:32
## File existed as early as: 1997 ## File existed as early as: 1997
## ##
## chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ ## chongo <was here> /\oo/\ http://www.isthe.com/chongo/
## Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ ## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/

View File

@@ -635,12 +635,12 @@ Step 12: Contribute
## received a copy with calc; if not, write to Free Software Foundation, Inc. ## received a copy with calc; if not, write to Free Software Foundation, Inc.
## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
## ##
## @(#) $Revision: 29.1 $ ## @(#) $Revision: 29.2 $
## @(#) $Id: HOW_TO_ADD,v 29.1 1999/12/14 09:15:36 chongo Exp $ ## @(#) $Id: HOW_TO_ADD,v 29.2 2000/06/07 14:03:03 chongo Exp $
## @(#) $Source: /usr/local/src/cmd/calc/custom/RCS/HOW_TO_ADD,v $ ## @(#) $Source: /usr/local/src/cmd/calc/custom/RCS/HOW_TO_ADD,v $
## ##
## Under source code control: 1997/03/10 03:03:21 ## Under source code control: 1997/03/10 03:03:21
## File existed as early as: 1997 ## File existed as early as: 1997
## ##
## chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ ## chongo <was here> /\oo/\ http://www.isthe.com/chongo/
## Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ ## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/

View File

@@ -18,15 +18,15 @@
# received a copy with calc; if not, write to Free Software Foundation, Inc. # received a copy with calc; if not, write to Free Software Foundation, Inc.
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
# #
# @(#) $Revision: 29.1 $ # @(#) $Revision: 29.2 $
# @(#) $Id: Makefile,v 29.1 1999/12/14 09:15:36 chongo Exp $ # @(#) $Id: Makefile,v 29.2 2000/06/07 14:03:03 chongo Exp $
# @(#) $Source: /usr/local/src/cmd/calc/custom/RCS/Makefile,v $ # @(#) $Source: /usr/local/src/cmd/calc/custom/RCS/Makefile,v $
# #
# Under source code control: 1997/03/09 02:28:54 # Under source code control: 1997/03/09 02:28:54
# File existed as early as: 1997 # File existed as early as: 1997
# #
# chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ # chongo <was here> /\oo/\ http://www.isthe.com/chongo/
# Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ # Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
# #
# calculator by David I. Bell with help/mods from others # calculator by David I. Bell with help/mods from others
# Makefile by Landon Curt Noll # Makefile by Landon Curt Noll

View File

@@ -56,12 +56,12 @@ SEE ALSO
## received a copy with calc; if not, write to Free Software Foundation, Inc. ## received a copy with calc; if not, write to Free Software Foundation, Inc.
## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
## ##
## @(#) $Revision: 29.1 $ ## @(#) $Revision: 29.2 $
## @(#) $Id: argv,v 29.1 1999/12/14 09:15:36 chongo Exp $ ## @(#) $Id: argv,v 29.2 2000/06/07 14:03:03 chongo Exp $
## @(#) $Source: /usr/local/src/cmd/calc/custom/RCS/argv,v $ ## @(#) $Source: /usr/local/src/cmd/calc/custom/RCS/argv,v $
## ##
## Under source code control: 1997/03/09 20:28:01 ## Under source code control: 1997/03/09 20:28:01
## File existed as early as: 1997 ## File existed as early as: 1997
## ##
## chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ ## chongo <was here> /\oo/\ http://www.isthe.com/chongo/
## Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ ## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/

View File

@@ -17,15 +17,15 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc. * received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
* *
* @(#) $Revision: 29.1 $ * @(#) $Revision: 29.2 $
* @(#) $Id: argv.cal,v 29.1 1999/12/14 09:15:36 chongo Exp $ * @(#) $Id: argv.cal,v 29.2 2000/06/07 14:03:03 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/custom/RCS/argv.cal,v $ * @(#) $Source: /usr/local/src/cmd/calc/custom/RCS/argv.cal,v $
* *
* Under source code control: 1997/03/10 00:27:17 * Under source code control: 1997/03/10 00:27:17
* File existed as early as: 1997 * File existed as early as: 1997
* *
* chongo <was here> /\oo/\ http://reality.sgi.com/chongo/ * chongo <was here> /\oo/\ http://www.isthe.com/chongo/
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/ * Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
*/ */
/* /*

Some files were not shown because too many files have changed in this diff Show More