home *** CD-ROM | disk | FTP | other *** search
- =============================================================================
-
- icalc - a complex-number expression parser
-
- by Martin W Scott
-
- =============================================================================
-
- Revision History
-
- =============================================================================
-
- Version 1.1
- -----------
-
- - Example script files modified. Now provided are:
- icalc.init, which has many useful functions (startup-file);
- trig.icalc, which contains less-used trig functions;
- stat.icalc, one-variable statistical analysis.
- You are strongly recommended to look at these for tips on how
- best to use icalc.
-
- - On startup, icalc will now read the file 's:icalc.init' if it
- exists.
-
- - Special function multi() added, which evaluates all its arguments,
- returning the last one as its value. See docs and example scripts
- for applications. Also added is print() builtin, for use
- with multi().
-
- - Special functions Sum(), Prod(), every() and vevery() now added.
- The repeat construct has therefore been removed. (It was only
- in there until I got around to adding this type of facility).
-
- - Expressions and function definitions may now be continued on
- the next line by use of a backslash '\'.
-
- - Identifiers may begin with and contain underscores (and, as a
- side-effect of the implementation, be composed entirely of
- underscores).
-
- - Multi-parameter functions now added.
-
- - You can now declare functions that take no parameters, eg.
- func total() = sum1 + sum2
-
- - Listing of user functions improved: now shows parameter list;
- However, I don't think it's worth writing out whole definition.
-
- - Method of setting precision has changed: now use function
- prec(digits), which returns ans (last computed result). Initially
- set to 8.
-
- - Added function int(z), which returns the real and imaginary parts
- of z rounded to nearest integers; 0.5 rounds up.
-
- - Added functions ceil(z) and floor(z), which operate separately
- on the real and imaginary parts of their argument, in a similar
- manner to int(z).
-
- - Now has a prompt to avoid confusion.
-
- - [ Real-valued functions are no longer computed internally as such. ]
-
- - Removed debugging code accidentally left in with version 1.0.
-
-
-
- Version 1.0
- -----------
-
- - Initial release.
-