[comp.sys.dec] Infix Calculator for VMS and Un*x available.

hvm6034@ux.acs.umn.edu (hvm6034) (07/18/90)

ICALC, an Infix Calculator for VMS and Un*x, is now available via Anonymous FTP
from moose.cccs.umn.edu (Internet Address 128.101.107.53).  Just get the file
ICALC.TXT (in ASCII mode), read it and follow the instructions contained
therein.

If you do not have FTP access, please contact me somehow with some form of
e-mail/paper-mail address, and I'll post it to you personally.

ICALC has the following features:
    1) Addition (+), Subtraction (-), Multiplication (*), Division (/)
    2) Modulo (%), Powers (^)
    3) Bitwise logical operators: bitwise AND (&), bitwise inclusive OR (|),
       unary one's complement (~)
    4) 17 Math/Trigonometric functions: sin, cos, tan, asin, acos, atan,
       sinh, cosh, tanh, exp (exponential), ln (natural log),
       log (base 10 log), sqrt (square root), ceil (ceiling), floor, int, abs.
    5) Temporary variables (as many as you want, with names as long as you
       want) to store intermediate computations.
    6) This is a "portable" calculator in the sense that it's not specific to
       any operating system.  The yacc output should be compilable by any C
       compiler; this program has been tested on Unix and VAX/VMS, and has
       required no changes to compile.
    7) This program uses the simplest of input and output formats, and is in
       no way hardware dependent.  So, as long as it compiles without any
       problems, there are no other requirements for it to work properly.
    8) All numbers are of the C floating-point type "double", which, according
       to the VAX C manual, has a range of 0.29*10^-38 to 1.7*10^38, and has
       values precise to 16 decimal digits.

BTW, this program requires no special privileges to run.

/******************************************************************************/
/* Rao Akella, Research Assistant, CCCS, University of Minnesota, Minneapolis */
/* Internet: rao@moose.cccs.umn.edu, hvm6034@ux.acs.umn.edu                   */
/* BITNET:   RAO%MOOSE@UMNACVX.BITNET, CCCSRAO@UMNHSNVE.BITNET                */
/* Phone:    (W) (612) 627-4151    (H) (612) 339-9982                         */
/* "The urgent leaves no time for the important." -- Anonymous                */
/******************************************************************************/