.ICALCV, Utilities, a Portable Infix Calculator;This package was originally made available by (according to2icalcv.txt) Rao Akella, and modified David Mathog 5I have found and corrected the "MATH$TRUNC_G multiply7defined" error during linking, and corrected some other<warnings from the C comiler (but not one bad subscript array4warning, due the the code being somewhat 'peculiar':4however, the program does appear to run correctly). 7I have also supplied a version of G05CAF in "C", so you:don't need a FORTRAN compiler. The program appears to run8correctly (and identically) on Alpha and IA64: I haven't<tried this version on VAX, or on any other operating system.Bart Z. LedermanOriginal description:7Ever wanted to do a quick calculation and didn't have a1calculator handy? ICALC is a simple, portable and;quickly-accessible program for doing INFIX computations. It5is neither very sophisticated nor intended to provide:enormous flexibility. It merely provides the functionality%of a simple infix pocket calculator. Features:~~~~~~~~F 1) Addition (+), Subtraction (-), Multiplication (*), Division (/) 2) Modulus (%), Power (^)L 3) Bitwise logical operators: bitwise AND (&), bitwise inclusive OR (|),! unary one's complement (~)H 4) 20 Math/Trigonometric functions: sin, cos, tan, asin, acos, atan,@ sinh, cosh, tanh, exp (exponentiation), ln (natural log),D log (base 10 log), sqrt (square root), ceil (ceiling), floor,4 int/trunc (truncation), abs (absolute value),@ degtorad (degrees->radians), radtodeg (radians->degrees).L Two Date functions to convert between calendar dates and julian days:M caltojul (calendar->julian date) and jultocal (julian->calendar date).I One '?'-for-help command to display a help screen of all supported commands and functions.J 5) Temporary variables (as many as you want, with names as long as you0 want) to store intermediate computations.M 6) This is a "portable" calculator in the sense that it's not specific toK any operating system. The yacc output should be compilable by any CM compiler; this program has been tested on Unix, VAX/VMS and PC/MS-DOS,. and has required no changes to compile.L 7) This program uses the simplest of input and output formats, and is inI no way hardware dependent. So, as long as it compiles without anyI problems, there are no other requirements for it to work properly.N 8) All numbers are of the C floating-point type "double", which, accordingL 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.C 9) Allows any number of expressions on a line, separated by ';'< 10) icalc can now be run either interactively (when it is? invoked without any arguments, in which case the user is> prompted for input) or in a command-line mode (when all9 expressions to be computed are passed to icalc viaB command-line "argv" arguments, in which case icalc computes@ and prints the result of each expression -- exactly as if< it had been entered interactively -- and then exits).; In the latter case, the user is supposed to delimit/& separate the expressions by ';'