
      Warp + Calc = WarpCalc

      Copyright (c) 1997-2016 Carl-Magnus Olsson.

      Version 2.1A8 (2016-01-03)
      ________________________________________________________________

      Home:
         www.cosmicledger.com/software/warpcalc/

      Support:
         warpcalc@cosmicledger.com

      ==============================
      This is a pre-release version.
      ==============================

      - This pre-release improves the number parser (more accurate
      decimal parsing), the sin, cos and tan functions (special input
      values tested), and error reporting: insignificant digits, too
      many decimals, insignificant operation, and bad operation are
      reported by the parser; and singularity, domain errors, and loss
      of significance are reported by the mathematical functions.
      Divide by zero no longer triggers an FPU exception and is
      instead detected and reported by the parser, where possible.
      Result accuracy should be at least as good as the google online
      calculator.

      - It is now possible to delete entries from the input and result
      histories: Press the delete key or click the DEL button. For an
      entry to be deleted from the input history, the whole text has
      to be selected. This is done automatically as you move up and
      down the history. In a future update, when you delete an entry
      in the input history all the corresponding results will be
      deleted as well. Alpha 8 does not intercept SHIFT+DEL.

      - The settings menu now has a new item "Base", which sets the
      calculator to use base result notation in the base selected. The
      other result notation options no longer affect the number base
      used by the parser. This makes it possible to set the number
      base independently of the result notation. As before, selecting
      a new number base also selects base result notation.

      - When using base result notation, the calculator highlights the
      base conversion button corresponding to the set number base. The
      highlighted button has identical function with the EXE button.

      - The "bin", "oct", "dec" and "hex" base conversion buttons
      now reverse their colors when activated (with the sole exception
      of any highlighted button). They restore their original colors
      as soon as the display changes in some way. As before, these
      buttons change the result notation only temporarily.

      - The input history is periodically saved to file when updated.
      The check takes place every 7 seconds. This auto-save feature
      prevents loss of any new entries in case of an application
      crash (should never happen) or system freeze.

      - Both the GUI and the CLI executables have been updated in
      this prerelease. Some compiler change caused the mathematical
      functions not to report errors in earlier updates. A change of
      optimization options has restored the correct behavior.

      - This update includes quite a few under-the-hood changes and
      improvements, as well as text ui changes. A final Alpha release
      with better consolidated source code, bug fixes (there are at
      this moment no known bugs in the GUI executable) and at least
      one additional feature, will be released later this month,
      God willing.

      - The parser improvements affect both the CLI and GUI versions,
      but not improvements to the mathematical functions (after code
      consolidation they will be shared in a later update).

      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
      As always, bugs not reported are almost guaranteed to be
      included in the final release! In the past, some users have
      detected bugs and not reported them. WarpCalc was originally
      released as very inexpensive shareware and is now released as
      extremely inexpensive freeware. If you want the software to work
      as you expect, you really need to report whatever flaws you
      find. My sincere thanks to all WarpCalc users who have reported
      bugs and/or registered the software in the past.
      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

      ______________________________________________________________
      The following information has not been updated and pertains to
      the last released version, i.e. version 2.0.


      Description
      ===========

      The WarpCalc calculator package contains two scientific
      calculators, one for the OS/2 command line (CLI) and one for
      the OS/2 Presentation Manager (GUI). Both versions share the
      same core capabilities. In addition to common calculator
      features they allow the user to define his/her own symbols.

      For documentation on the GUI version refer to the extensive
      online help. Depending on the context, online help can be
      called up by pressing F1 on the keyboard, selecting the help
      items on the system menu or simply clicking the help button
      in the current dialog.

      For documentation on the CLI version have a look at 2nd last
      section of this readme.


      System requirements
      ===================

      Both the CLI version and the GUI version are 32-bit OS/2
      applications. Calc should run on OS/2 2.x and above.
      WarpCalc runs on OS/2 3.x (Warp), but Warp 4 or later is
      recommended for visual appearance. WarpCalc uses the
      WarpSans font introduced with Warp 4 (and later FixPaks
      for Warp 3).


      Installation
      ============

      Neither the CLI version nor the GUI version requires any
      special installation. Simply copy the included files to
      a directory of your choice.

      If you are using Warp 4, the WPS will create a program
      object for WarpCalc when you drag the executable to your
      desktop. If you want to start WarpCalc from the desktop
      popup menu follow these steps:

      1. Click mouse button 2 on the desktop.
      2. Select "Properties" from the menu.
      3. Click on the "Menu" tab.
      4. Drag the WarpCalc program object over the
         "actions on menu" list box and drop it.


      Licensing
      =========

      WarpCalc 2.1 is freeware! The great thing about freeware is
      that you only have to pay for it if you can and wish to make
      some poor developer happy. Although in every way optional,
      you can still get your copy personally registered (see
      register.txt for details).


      About this version
      ==================

      New: Freeware.

      Changed: Open Watcom C/C++ 1.9 has been used to compile and
      link this version.

      Changed: Versioning scheme consists of four fields: major
      and minor version numbers followed by revision/prerelease and
      stepping. The full version specification for this release is
      2.0.0.0.

      Changed: A new registration key is required. It is available
      for free for all previously registered users.

      More: See online help.


      History
      =======

      1997-08-24  Version 1.0 (Initial)
      1997-09-09  Version 1.01
      1997-09-28  Version 1.02
      1997-10-09  Version 1.03
      1997-12-23  Version 1.5
      1998-01-03  Version 1.7
      1998-01-14  Version 1.71
      1998-03-20  Version 1.8
      1998-04-04  Version 1.81
      1998-04-30  Version 1.82
      1998-06-01  Version 1.83
      1998-09-05  Version 1.84
      2001-07-31  Version 1.9
      2010-01-16  Version 1.10
      2012-03-21  Version 2.0 (Latest)


      Documenting the CLI version
      ===========================

      The command line version can be passed a mathematical
      expression as a command line argument like this:

      calc pi

      The above command evaluates the name pi and displays the
      result using default settings. It then immediately returns
      to the command prompt.

      It is also possible to enter more than one expression at
      once, separating the different expressions with semicolons.

      calc "x= atan 2; sin x/cos x; tan x - ans"

      The first expression assigns the angle for tangens 2 to x.
      In the following expression the value of x is used to
      calculate tangens for x. The last expression should give
      the result zero (ans holds the result from the previous
      expression).

      When starting the command line version without passing any
      expressions the program will display a command prompt. From
      that prompt you can evaluate mathematical expressions and
      configure the calculators behavior. The prompt shows the
      angular unit currently used. Online help can be displayed
      by entering the internal command 'help'. For a list of
      help topics enter: 'help ?'.

      As a default the calculator uses a flexible result notation.
      Except for fix point notation the default precision is 15
      significant digits (fix point notation uses 15 decimals).
      The default angle measurement unit used in conjunction with
      the trigonometric functions is radian. The defaults can be
      overridden through command line options as shown below.

      [ /not sci|fix|eng ][ /prec <n> ][ /unit deg|rad|gra ]

      To have the calculator use ANSI colors to highlight input
      and results add the following switch.

      [ /color ]

      For U.S. based users there is also a switch to force the
      calculator to use ISO signs for decimal separator,
      multiplication and the division.

      [ /iso ]

      Defaults for the command line switches can be set through
      the following environment variables: calc_not, calc_prec,
      calc_unit, calc_iso and calc_color. The options are the
      same as above except for calc_iso and calc_color, which
      take either a yes or a no.

      [ set calc_pos= <column> ]

      By stating the above in config.sys or directly at an OS/2
      command prompt you tell the calculator what column position
      to use for the last digit of the results. The default,
      far right, position may be inappropriate when in fullscreen
      mode. To fix results at column 40 simply specify:

      set calc_pos=40

      Note that all environment variables are case insensitive.

      The internal command line works as follows. A block cursor
      indicates over-write mode and a line cursor insert mode.
      Escape erases the current input. Input history can be
      navigated with the up/down- keys.


      Disclaimer
      ==========

      THIS PROGRAM IS PROVIDED AS IS AND COMES WITH NO WARRANTY
      OF ANY KIND, EITHER EXPRESSED OR IMPLIED. IN NO EVENT WILL
      THE COPYRIGHT HOLDER BE LIABLE FOR ANY DAMAGES RESULTING
      FROM THE USE OF THIS SOFTWARE.

      BECAUSE SOME JURISDICTIONS DO NOT ALLOW THE LIMITATIONS ON
      IMPLIED WARRANTIES OR THE EXCLUSION OR LIMITATION OF
      LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, THE
      ABOVE LIMITATIONS MAY NOT APPLY TO YOU.

