Download Latest Version curtain.run.zip (96.2 kB)
Email in envelope

Get an email when there's a new version of DOS utilities for Haiku

Home / Rcal
Name Modified Size InfoDownloads / Week
Parent folder
rcal.run.zip 2023-03-20 110.8 kB
readme.txt 2023-03-20 2.1 kB
Totals: 2 Items   112.9 kB 0
                      RCAL - A "ROLLING" CALCULATOR
                     Copyright (C) 2018 Mateusz Viste

                       http://rcal.sourceforge.net

rcal is an interactive calculator that loosely mimics the behavior of "roller
printing" calculators. It supports huge numbers, floating point and has
extremely low hardware requirements.


=== REQUIREMENTS =============================================================

rcal is a 16-bit (real mode) DOS application. It needs DOS 3+, an 8086 CPU and
around 100 KiB of available conventional RAM.


=== USAGE ====================================================================

Using rcal is as simple as launching the rcal executable and providing the
operands and operators that need to be computed. Following operators are
supported:
 '+' and '-' (add/subtract)
 '*' and '/' (multiply/divide)
 ^ - power
 % - percent

Inputing a negative operand requires to press the 'S' key (S = change sign).

Operator notes:

1. The percent operator acts in a perhaps peculiar way, since it actually does
   slightly more than just scaling a value down by 100. When it is preceded by
   an addition or subtraction, the percent operator will add or subtract the
   product of the previous operand. Example:

     Operation: "300 + 5%" will actually perform "300 + (300 * 5%)"

2. The power operator (^) supports only integer exponents.

3. Divisions are performed using a precision limited to 20 decimal places.


=== LIMITATIONS ==============================================================

Values that can be input to rcal can have up to 10 integer digits and 6
fractional digits. The computation engine itself is able to handle much bigger
numbers though: the entire result can be up to 56 digits long (longer
intermediate results are possible, but won't be displayed).


=== LICENSE ==================================================================

rcal is published under the MIT license,
==============================================================================
Source: readme.txt, updated 2023-03-20